A lightweight, cross-platform system resource monitor for the terminal, written in Go.
- Real-time monitoring with live refresh
- CPU usage per core + temperature
- Memory usage
- Disk partitions and usage
- System info (OS, hostname, kernel, uptime)
- Cross-platform: Linux, macOS, Windows
yay -S gmongit clone https://github.com/rainblower/gmon
cd gmon
go build -o gmon .Download from the releases page for your platform:
| Platform | File |
|---|---|
| Linux amd64 | gmon_linux_amd64 |
| Linux arm64 | gmon_linux_arm64 |
| macOS amd64 | gmon_darwin_amd64 |
| macOS arm64 | gmon_darwin_arm64 |
| Windows amd64 | gmon_windows_amd64.exe |
| Windows arm64 | gmon_windows_arm64.exe |
gmon [flags]
| Flag | Short | Description |
|---|---|---|
--info |
-i |
Show system info |
--cpu |
-c |
Show CPU info |
--memory |
-m |
Show memory info |
--disk |
-d |
Show disk info |
--realtime |
-r |
Real-time monitoring |
--version |
-v |
Show version |
# Real-time dashboard (all metrics)
gmon
# One-shot output for all metrics
gmon -i -c -m -d
# CPU only, real-time
gmon -c -r
# Memory and disk snapshot
gmon -m -d./build.shBinaries are placed in ./build/.
| OS | amd64 | arm64 |
|---|---|---|
| Linux | ✓ | ✓ |
| macOS | ✓ | ✓ |
| Windows | ✓ | ✓ |
- Go 1.22+
- gopsutil — system metrics
- cobra — CLI framework
- bubbletea — TUI framework
- lipgloss — terminal styling
MIT
