A simple command-line utility for querying and monitoring GPU status
![](https://www.deeplearningdaily.com/wp-content/uploads/2021/09/a-simple-command-line-utility-for-querying-and-monitoring-gpu-status_61314d1888886-375x210.jpeg)
Just less than nvidia-smi?
![Screenshot: gpustat -cp](https://github.com/wookayin/gpustat/raw/master/screenshot.png)
NOTE: This works with NVIDIA Graphics Devices only, no AMD support as of now. Contributions are welcome!
Self-Promotion: A web interface of gpustat
is available (in alpha)! Check out gpustat-web.
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-P
,--show-power
: Display GPU power usage and/or limit (draw
ordraw,limit
)-a
,--show-all
: Display all gpu properties above--watch
,-i
,--interval
: Run in watch mode (equivalent