gpustat: a rust-version of gpustat.Link

gpustat

Crates.io license

A rust version of gpustat.

Just less than nvidia-smi?

Usage

$ gpustat

Options:

  • --color : Force colored output (even when stdout is not a tty)
  • --no-color : Suppress colored output
  • -u, --show-user : Display username of the process owner
  • -c, --show-cmd : Display the process name
  • -f, --show-full-cmd : Display full command and cpu stats of running process
  • -p, --show-pid : Display PID of the process
  • -F, --show-fan : Display GPU fan speed
  • -e, --show-codec : Display encoder and/or decoder utilization
  • -a, --show-all : Display all gpu properties above

Quick Installation

Install from Cargo:

cargo install gpustat

Default display

[0] | A100-PCIE-40GB | 65'C | 75 % | 33409 / 40536 MB | along(33407M)

  • [0]: GPUindex (starts from 0) as PCI_BUS_ID
  • A100-PCIE-40GB: GPU name
  • 65'C: Temperature
  • 75 %: Utilization
  • 33409 / 40536 MB: GPU Memory Usage
  • along(33407M): Username of the running processes owner on GPU (and their memory usage)

License

GPL v2 License