System Resource Monitor CLI
A CLI tool that monitors CPU, memory, disk, and network usage in real-time with configurable thresholds and alerts. Supports process tracking, historical logging, and formatted dashboard output wit...
Target user
System administrators and developers who monitor server resources
Problem
System administrators need a lightweight CLI resource monitor with threshold alerts and historical logging without installing heavy monitoring agents on every server.
Requirements
- Monitor CPU, memory, and disk usage in real-time
- Track network I/O and active processes
- Configurable alert thresholds
- Log historical metrics to file
- Color-coded dashboard display
Core technologies
Node.js, TypeScript, os
Completion criteria
Users can monitor system resources in real-time with threshold alerts, process tracking, and historical logging.
Optional extensions
- Add remote monitoring via SSH
- Implement webhook alerts
- Add metric export to InfluxDB
- Support container stats
Project phases
Phase 1: Phase 1: Metrics Collection
Tasks: Set up CLI with display loop, Implement CPU usage monitoring, Add memory and disk metrics, Track network I/O
Phase 2: Phase 2: Display and Alerts
Tasks: Build color-coded dashboard layout, Add configurable threshold alerts, Implement process listing, Create alert notifications
Phase 3: Phase 3: Logging and Export
Tasks: Implement historical metric logging, Add log rotation, Create export to CSV, Add configuration file support