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.1.0.tar.gz (8.6 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.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gpu_who-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 a39ae21c03d73b49c4c39d5d675e76a0d2bd3f4c49819374ad8d518be0fa889f
MD5 592a1bb5db629ef335ec2a73924a7afd
BLAKE2b-256 ec859018517767357c8a6d8adfe44f8e636b8a768afdac56d3e05680def67c06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gpu_who-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dee45d168fd5845bcddbbd035077c228357a9984e26b0c3029a60a1d89a1f083
MD5 eecdaa0eb7fe7c87fad10f53b6cb61c1
BLAKE2b-256 afa8d598591feda8184cbf047834c5fe48bfdcbda4e42a08a7139949d656379d

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