nvtop 0.1.0

`nvtop`: An NVIDIA SMI'esk GPU Monitoring tool for your terminal. `nvtop` is a command-line utility that provides a replacement for some of the output from `nvidia-smi` (System Management Interface). It offers real-time monitoring and visualization of GPU information: Core Clock, Temps, Fanspeed and Memory Usage. # Usage: ``` # Monitor the GPU and system with a 1-second update interval nvtop --delay 1000 ```
Documentation
1
2
3
4
5
6
7
8
use clap::Parser;

#[derive(Parser)]
pub struct Cli {
    /// Number of time to wait in millis.
    #[clap(short, long, value_name = "MILLISECONDS", default_value_t = 100)]
    pub delay: u64,
}