Skip to main content

nvmon

A fancy NVIDIA GPU monitor for the terminal. Single Python file, no dependencies.

nvmon showing eight H100 GPUs in two columns

It fits the window. In a small one the boxes get shorter, and scroll once they no longer fit:

nvmon in a small window, scrolling through the GPUs

p lists every job; a picked one stands out on the GPUs it uses:

nvmon with the process list open and a torchrun job picked

v goes from graphs to each GPU's processes in their place, one a line with the command, to the numbers alone, to GPU and MEM alone. The wheel scrolls the processes, sideways too (tilted, with Shift, or ← →):

nvmon with the processes in place of the graphs

Install

uv tool install nvmon    # or: pipx install nvmon

No uv? Install it, or use pip install nvmon inside whichever environment you use.

On a server without internet, copy nvmon.py over and run it with any Python 3.6+.

Usage

nvmon              # Esc, q or Ctrl+C to quit
nvmon -i 1         # refresh every second (default: 0.5)
nvmon -g 0,2,4-7   # only these GPUs
ssh -t HOST nvmon  # over ssh: -t gives it a terminal

Click a process, or press Tab, to pick its job: the GPUs it uses stand out, and f shows only those. t asks the job to stop (SIGTERM: it may save and exit), k ends it at once (SIGKILL); both ask for a y first. p lists every job with its utilization and command line; click a heading to sort by it. Click an empty spot to let the job go and close the list.

The GPU numbers at the bottom left hide a GPU when clicked, and show it again; so does the number's key. v goes through graphs, processes, numbers only and GPU and MEM only (V back). c goes through the themes (C back): nvmon's own, then palettes from works by Hiroshige, Hokusai, O'Keeffe, Van Gogh, Bénédictus and Cassatt (as MetBrewer has them) and the Rosé Pine theme's, then black and white. The theme, graphs on or off, the list's order and the GPUs hidden stay for the next run, for each computer you connect from (in ~/.config/nvmon/settings.json). The keys work with a Korean keyboard in Hangul mode too (ㅂ quits). Hold Shift to select text with the mouse.

nvmon's themes, one box in each

What it shows

  • GPU: how much of the time something ran on it. cores / tensor (H100 and newer): how much of the chip that work kept busy, and how much of it was matrix math on the Tensor Cores. A GPU reads 100 % as soon as one small kernel runs all the time, while its cores may sit at 30 %.
  • MEM, data sent CPU -> GPU and GPU -> CPU against the link's top speed, power, temperature, fan and clock.
  • Processes on each GPU with run time and memory, grouped by account and conda environment (your own account unlabelled), script names for Python.
  • Warnings only when something is off: SLOWED: power cap | too hot | hw brake when the clock is held back, PCIe DEGRADED: x16 -> x8 when the card runs on fewer lanes than it supports.

Notes

  • Needs an NVIDIA driver.
  • On Windows, run it in Windows Terminal; Git Bash's default window is not a terminal to Python.
  • nvmon asks the terminal how it draws. One that puts line and block characters two cells wide (Xshell, PuTTY and the like, set up for Korean, Chinese or Japanese) gets boxes and graphs drawn in ASCII. One that does not say it shows 24-bit color gets 256 colors, which look nearly the same.
  • Boxes still broken: the terminal moves on one cell, but its font draws the characters two wide. Pick a font whose line characters are one cell wide, and make sure the encoding is UTF-8.
  • When a newer release is out, the bottom line says so, with the command that updates your install. nvmon asks PyPI once at start; NVMON_NO_UPDATE_CHECK=1 turns that off.

License

MIT

Metadata

Release files for nvmon 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nvmon 0.3.0
File Size Uploaded
nvmon-0.3.0.tar.gz 38.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nvmon 0.3.0
File Interpreter ABI Platform
nvmon-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 78.6 kB

Release files / nvmon-0.3.0.tar.gz

Download URL nvmon-0.3.0.tar.gz
Size 38.8 kB
Tags Source
SHA-256 checksum
How to use checksums
79bff17ab28b2a9b6e99e898853870f37333d279b58c1ee598b30f1f8e2eec4d
BLAKE2b-256 checksum
How to use checksums
42cd2b2456577be6bb883cde80101d7210f6510fcf8edf35780bfda505b306f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / nvmon-0.3.0-py3-none-any.whl

Download URL nvmon-0.3.0-py3-none-any.whl
Size 39.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b41698ccaa7f7e68f44327d5b08a98a05cb7c7e824317f9bc44f295b8e661ce0
BLAKE2b-256 checksum
How to use checksums
f3f172314893977d32988db0c432c2675c9e3bdb9c5f8f6a3b1ebadeff716b48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page