NVIDIA GPU and CUDA Monitoring Cheat Sheet¶
NVIDIA GPU and CUDA Monitoring Cheat Sheet.
Hardware Monitoring Tools¶
Monitor GPU usage, VRAM consumption, and temperature, updating every 1 second:
Built-in looping mode, updating every 2 seconds:
Stream minimal GPU metrics to the console in CSV format:
Interactive, htop-style visual monitor for NVIDIA GPUs (requires installation: sudo dnf install nvtop):
Process Management¶
Identify PID and users of applications currently accessing the NVIDIA GPU:
List detailed process information running on the GPU:
Force-terminate a frozen process locking GPU VRAM:
Prime Render Offload (Fedora/Wayland)¶
Launch any application utilizing the discrete NVIDIA GPU instead of integrated graphics by prepending these environment variables: