Skip to main content

GPU process monitor — see who's using the GPU with full process details

Project description

gpu-who

GPU process monitor — see who's using the GPU with full process details.

Like nvidia-htop but shows everything: working directory, full command, conda/venv environment, Docker container info, and per-user summary.

Install

pip install gpu-who

Usage

gpu                # one-shot display
gpu -w             # watch mode (refresh every 2s)
gpu -w -n 5        # watch mode, 5s interval
gpu --json         # JSON output for scripting

What it shows

Per GPU: utilization bar, memory bar, power, temperature, fan speed

Per process:

  • PID, user, GPU memory usage (bar + percentage)
  • Running time (elapsed)
  • Working directory (cwd) — correctly resolved even for Docker containers
  • Full command line (shortened for readability)
  • conda/venv environment name
  • Docker container name + image (auto-detected)
  • tmux/screen session indicator

Summary: per-user GPU memory totals

Requirements

  • Linux with NVIDIA GPU
  • nvidia-smi in PATH
  • Python 3.9+
  • No pip dependencies (stdlib only)
  • Optional: docker CLI (for container name resolution)

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

gpu_who-0.2.1.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpu_who-0.2.1-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file gpu_who-0.2.1.tar.gz.

File metadata

  • Download URL: gpu_who-0.2.1.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for gpu_who-0.2.1.tar.gz
Algorithm Hash digest
SHA256 dfb1644b22552f3e692e280ee95299434580be3c37c907a2300ceeef69c01b5a
MD5 e4651b67a130a0697f55e15b4a1af6df
BLAKE2b-256 66b30c782d9c7d132b2b1bc213b60ad81eeb2fe9092cc7ce41ba07c9f276aea5

See more details on using hashes here.

File details

Details for the file gpu_who-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: gpu_who-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for gpu_who-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5f05498b28f5169c860539ec17ae14e7779c65407775276f4677b3fa73332f2
MD5 44d81edd39eee9da37dfa74d13719184
BLAKE2b-256 72d0b382e36dc3fa334c905d2d01d44c0b1bd29c73974e951c7190ee82d86b8e

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