For typical use cases, I prefer using nvitop
to view detailed information. This script offers a dependency-free implementation.
The script enhances the functionality of nvidia-smi
and provides the following info:
Username
full process Command
GPU ID
PID
This is useful on multi-user servers and can be used to quickly identify which user is using the GPU and running what kind of program.