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 details)

Uploaded Source

File details

Details for the file gpustat-0.1.1.tar.gz.

File metadata

  • Download URL: gpustat-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gpustat-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cd9760f2c48277c7ca308e3a7d8014cd02256b0fb3fc7fb33eb19d1d99655b8f
MD5 7a205804d0c27fbf4e167d4249c07e93
BLAKE2b-256 f09eda34bcf3dba094be8feddbfcdfcba3f0feedf9415aa7b25532e8cbd227c7

See more details on using hashes here.

Supported by

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