A lightweight and colorful system monitoring tool written in Go that provides real-time information about your system's resources.
- 💻 System Information Display
- 🔄 CPU Usage Monitoring
- 💾 Memory Usage Tracking
- 💿 Disk Space Analysis
- 📊 Load Average Statistics
- 🌐 Network Interface Information
- 🎨 Colorful Terminal UI
- 🔄 Auto-refresh (500ms interval)
git clone https://github.com/idmaksim/go-system-monitor.git
cd system-monitor
go mod download
go build
- gopsutil - System and process utilities
- fatih/color - Color support for terminal output
The monitor shows:
- Current date and time
- System platform and hostname
- CPU usage with core count
- Memory usage (total and percentage)
- Disk usage for all mounted partitions
- System load averages (1, 5, and 15 minutes)
- Network interfaces with IP addresses
- Temperature sensors (with admin privileges)
The application uses an intuitive color scheme to indicate resource usage levels:
- 🟢 Green: Normal usage (< 60%)
- 🟡 Yellow: Moderate usage (60-80%)
- 🔴 Red: High usage (> 80%)
Simply run the compiled binary:
./system-monitor
To exit the application, press Ctrl+C
.
- Linux
- macOS
- Windows
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
- Fork the project
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a pull request