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.3.tar.gz (8.7 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.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gpu_who-0.1.3.tar.gz
  • Upload date:
  • Size: 8.7 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.3.tar.gz
Algorithm Hash digest
SHA256 c52212a624d5bc952fe820c370020c554c9b3e7d1412272d374199f93ab7100a
MD5 55e56016b1130be78b3def0c4c4effba
BLAKE2b-256 895bbeb5b877fc756dabce333477960b1e5a1b95ff6c11d0ef4cb3ad74fd498f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gpu_who-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 9.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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f9e935b2c5599905b99b407c47bcbb42d9192e7610bfad54042844bbc998ad6f
MD5 77e8939dc90ab23cf352d245f7bc29bd
BLAKE2b-256 13188011e97865833d0a4506934716b2a9bf489470dd6722f8fc140a9b4a4efa

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