Skip to content

A blazing-fast terminal-based system monitor written in Go. Real-time CPU, memory, system, and process stats — all in one clean dashboard.

License

Notifications You must be signed in to change notification settings

henriquetourinho/monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

monitor 📊🚀

monitor is a modern, terminal-based system dashboard written in Go. It provides a real-time, colorful, and responsive interface to display CPU usage, memory stats, system information, and top processes — all from the comfort of your terminal.

Whether you're a sysadmin, DevOps engineer, or just a curious nerd, monitor helps you keep full control over your Linux system resources in a beautiful and efficient way.


📦 Features

  • 🔄 Real-Time Dashboard: Auto-refresh every 2 seconds.
  • 🚀 CPU Usage: Per-core metrics and total usage percentage.
  • 🧠 Memory & Swap Info: Detailed RAM and Swap usage in GB and %.
  • 🖥️ System Info: Hostname, OS, uptime, and platform.
  • 📋 Process Table: Sorted list of active processes by CPU usage.
  • 🎨 TUI Interface: Built with tview for smooth terminal UI experience.

🧠 Why Go?

  • Go compiles into a single binary — easy to distribute.
  • Blazing fast — built for performance and concurrency.
  • Zero runtime dependencies — just compile and run.
  • Clean architecture — great for maintainability and improvements.

⚙️ Requirements

  • Linux-based OS (Debian, Ubuntu, etc.)
  • Go 1.18 or newer
  • Terminal with color support
  • Git (to clone the repository)

🛠️ Getting Started

🔧 Clone and run in development mode:

git clone https://github.com/henriquetourinho/monitor.go.git
cd monitor.go
go run .

⚙️ Build an optimized binary:

go build -o monitor .
./monitor

(Optional) Move to a global path for easy use:

sudo mv monitor /usr/local/bin/

⌨️ Keyboard Shortcuts

Key Action
/ Scroll through process table
q Quit the program
Ctrl+C Quit the program

💡 Future Ideas

  • Add network monitoring
  • Disk I/O statistics
  • Dark/light themes
  • Export metrics to file
  • .deb package installer

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.


🙋‍♂️ Author

Made with ❤️ by Carlos Henrique Tourinho Santana
🧑‍💻 Debian Wiki: https://wiki.debian.org/henriquetourinho
🐙 GitHub: @henriquetourinho
✈️ Telegram: @henriquetourinho


Stay in control of your system — with monitor. ⚡🖥️

About

A blazing-fast terminal-based system monitor written in Go. Real-time CPU, memory, system, and process stats — all in one clean dashboard.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages