mirror of
https://github.com/m1ngsama/tracker.git
synced 2025-12-25 02:57:02 +00:00
- Implement main.rs with clap CLI argument parsing - Add --continuous flag for continuous monitoring mode - Add --interval flag for configurable update intervals - Add --config flag for custom config file paths - Initialize env_logger for debug logging - Create comprehensive .gitignore for Rust and Python - Write README-rust.md with usage instructions - Handle config loading with fallback to defaults - Support graceful Ctrl+C interruption in continuous mode
37 lines
635 B
Markdown
37 lines
635 B
Markdown
# Tracker (Rust)
|
|
|
|
A high-performance system monitoring tool written in Rust.
|
|
|
|
## Features
|
|
|
|
- CPU, memory, disk, and network monitoring
|
|
- Process tracking with top CPU consumers
|
|
- Temperature sensor support (platform-dependent)
|
|
- Configurable alert thresholds
|
|
- Automatic logging to daily log files
|
|
- Data export to JSON/CSV formats
|
|
- Cross-platform compatibility
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
cargo build --release
|
|
```
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
# Single run
|
|
cargo run
|
|
|
|
# Continuous monitoring
|
|
cargo run -- --continuous --interval 5
|
|
```
|
|
|
|
## Configuration
|
|
|
|
Edit `config.json` to customize monitoring behavior and alert thresholds.
|
|
|
|
## License
|
|
|
|
MIT
|