Skip to main content

An utility to monitor NVIDIA GPU status (wrapper of nvidia-smi)

Project description

Just less than nvidia-smi?

![Screenshot: gpustat -cp](screenshot.png)

Usage

$ gpustat

Options:

  • –no-color : Suppress color (by default, color is enabled)

  • -u, –show-user : Display username of the process owner

  • -c, –show-cmd : Display the process name

  • -p, –show-pid : Display PID of the process

### Tips

  • To periodically watch, try watch –color -n1.0 gpustat (built-in watch support will be added soon).

  • Running nvidia-smi daemon (root privilege required) will make the query much faster.

Quick Installation

Install from PyPI:

` sudo pip install gpustat `

Alternatively, you can just download [gpustat.py][script_gitio] into somewhere in PATH, e.g. ~/.local/bin/ (when you do not have root privilege, for example):

` sudo wget https://git.io/gpustat.py -O /usr/local/bin/gpustat && sudo chmod +x /usr/local/bin/gpustat `

[script_gitio]: https://git.io/gpustat.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpustat-0.1.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page