LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nvtop

ncurses-based GPU process monitor, similar to htop but for GPUs

TLDR

Monitor all GPUs
$ nvtop
copy
Monitor specific GPU
$ nvtop -i [0]
copy
Monitor multiple GPUs
$ nvtop -i [0,1,2]
copy
Delay between updates
$ nvtop -d [2]
copy
No color output
$ nvtop -C
copy

SYNOPSIS

nvtop [options]

DESCRIPTION

nvtop is an ncurses-based GPU process monitor, similar to htop but for GPUs. It displays real-time GPU utilization, memory usage, temperature, and running processes.The tool supports a wide range of accelerators: NVIDIA (Kepler and newer, proprietary driver), AMD (amdgpu, kernel 5.14+), Intel (i915/Xe, kernel 5.19+), Qualcomm Adreno (msm, kernel 6.0+), Apple Silicon (M1/M2, experimental), Broadcom VideoCore on the Raspberry Pi, Rockchip NPUs, Huawei Ascend, MetaX and Enflame cards.

PARAMETERS

-i ids

GPU IDs to monitor.
-d seconds
Delay between updates.
-s sort
Sort by (pid, type, rate, mem, etc.).
-C
No color.
-p
Show only processes.
-f file
Log to file.
--no-header
Hide header.
-h, --help
Show help and exit.
-v, --version
Print version information and exit.

KEYBOARD SHORTCUTS

F1/q: QuitF2: Setup (interactive options window)F3: SearchF4: FilterF6: SortF9: Kill processF12: Save preferences for future sessions

CAVEATS

NVIDIA needs driver 410+. AMD needs ROCm. Intel needs i915 driver. Feature support varies by GPU vendor.

HISTORY

nvtop was created by Maxime Schmitt to provide an htop-like experience for GPU monitoring. It started with NVIDIA support and later added AMD and Intel GPU support.

SEE ALSO

Copied to clipboard
Kai