$linuxjunkies
>

nvtop(1)

Monitor GPU usage and temperature in the terminal with an interactive top-like interface.

UbuntuDebianFedoraArch

Synopsis

nvtop [OPTION]...

Description

nvtop is an interactive GPU monitoring tool for NVIDIA GPUs that displays real-time GPU utilization, memory usage, temperature, and power consumption. It provides a top-like interface in the terminal, allowing you to track processes using the GPU and identify resource hogs.

The tool supports multiple GPUs and can display per-process GPU memory usage. It updates continuously and allows sorting by different metrics and filtering by GPU index.

Common options

FlagWhat it does
-h, --helpdisplay help message and exit
-v, --versionshow version information
-d, --delayset refresh interval in milliseconds (default: 1000)
-n, --no-colordisable colored output
-C, --csvoutput as CSV format instead of interactive mode
-l, --loopnumber of iterations before exiting (CSV mode)
-s, --sortsort by column (pid, name, memory, sm, etc.)

Examples

launch interactive GPU monitoring dashboard for all GPUs

nvtop

run nvtop with 500ms refresh interval for more responsive updates

nvtop -d 500

run without color output, useful for terminal recording or scripting

nvtop -n

output CSV format and exit after 5 iterations, useful for logging

nvtop -C -l 5

sort processes by GPU memory usage in descending order

nvtop -s memory

Related commands