gpustat

Crates.iogpustat
lib.rsgpustat
version0.1.8
sourcesrc
created_at2021-06-09 01:31:50.865412
updated_at2023-08-03 03:51:27.873162
descriptionA rust-version of gpustat.
homepagehttps://github.com/AlongWY/gpustat
repositoryhttps://github.com/AlongWY/gpustat
max_upload_size
id408004
size58,886
Feng Yunlong (AlongWY)

documentation

README

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)

Changelog

See CHANGELOG.md

License

GPL v2 License

Commit count: 18

cargo fmt