SysMon is a very simple and lightweight Rust application designed to monitor and display system usage information. It offers a terminal interface for detailed visualization of these metrics in real-time.
The application provides the following features:
- Real-time monitoring of CPU, GPU, and memory usage.
- Graphical display of usage statistics using Ratatui.
- Command-line interface for customizing the refresh rate and enabling graphical display.
Before you begin, ensure you have the following:
- Rust and Cargo.
- An NVIDIA GPU with
nvidia-smi
installed (for GPU usage monitoring).
-
Clone the repository:
git clone https://github.com/seanima9/SysMon.git cd SysMon
-
Build the project:
cargo build --release
-
Run the application:
cargo run --release
The application accepts command-line arguments to customize its behavior.
--refresh
: Sets the refresh rate of the UI updates in milliseconds (default is 600ms).--graphs
: Enables detailed graphical display of system stats.
-
Run with default settings:
cargo run --release
-
Run with a custom refresh rate:
cargo run --release -- --refresh 1000
-
Run with graphical display enabled:
cargo run --release -- --graphs
- Real-Time Graphs: Displays CPU, GPU, and memory usage graphs side by side.
- Customizable Refresh Rate: Allows users to set the refresh rate for the UI updates.
- Keyboard Interaction: Exit the graphical interface by pressing 'q'.
Contributions are welcome! Please feel free to submit pull requests or create issues for bugs, questions, or new features.