nvtop GPU monitor

Version 3.3.2 · source

Start here

Up / Down
Select a process
F6
Choose sort field
F9
Signal selected process
F2
Open setup
F12
Save settings
Plus / Minus
Sort ascending / descending
Left / Right
Scroll process row
q
Quit

Concepts

Device info rows
GPU and memory bars
History chart
Process list
Main screen, top to bottom

Process List

Up / Down
Move process selection
Left / Right
Scroll process row sideways
Reveals long command lines.
F6
Pick the sort field
Choose by GPU use, memory, PID, user or command.
Plus
Sort ascending
Minus
Sort descending
F9
Send a signal to the process
Select a process first, then pick the signal to send.

Screen and Settings

F2
Open the setup window
Tabs: General, Devices, Chart, Processes.
F12
Save current options
Written to interface.ini; loaded on next start.
F10 / q / Esc
Quit nvtop

Command Line

nvtop
Start the monitor
nvtop -d <tenths>
Update interval in tenths of a second
-d 5 refreshes every 0.5 s.
nvtop -s
Print stats once and exit
No ncurses; handy for scripts.
nvtop -l
Print stats repeatedly
nvtop -p
One plot for the max of all GPUs
nvtop -P
Hide the process list
nvtop -C
Monochrome output
nvtop -i
Show extra dynamic clock bar
nvtop -X
Also show static specs
nvtop -u
Scale process memory units
nvtop -r
Reverse plot time order
nvtop -f
Temperatures in Fahrenheit
nvtop -E <seconds>
Encode/decode meter hide timer
Default 30; negative keeps them always visible.
nvtop -c <file>
Use a custom config file
nvtop -v
Print version
nvtop -h
Print help

Config and Support

Supported hardware
Vendor Driver
NVIDIA Proprietary driver via NVML
AMD amdgpu (kernel 5.14+ for processes)
Intel i915 or xe (kernel 5.19+ for processes)
Adreno msm (kernel 6.0+ for processes)
Config file location
# default path~/.config/nvtop/interface.ini# or under $XDG_CONFIG_HOME

Recipes

Fast refresh, no colour
nvtop -d 5 -C
Log stats from a script
nvtop -s > gpu-stats.txt# or stream repeatedlynvtop -l
Find the GPU hog and stop it
# F6  pick the memory field# Minus  largest first# Up / Down  select it# F9  choose a signal
Compact view for many GPUs
nvtop -p -u# F2, then F12 to keep the choice