nvidia-smi

Aid the management and monitoring of NVIDIA GPU devices. More information: <https://developer.nvidia.com/nvidia-system-management-interface>.

Install

All systems
curl cmd.cat/nvidia-smi.sh
Ubuntu
apt-get install nvidia-331-updates
Arch Arch Linux
pacman -S nvidia-utils
Windows (WSL2)
sudo apt-get update sudo apt-get install nvidia-331-updates

Aid the management and monitoring of NVIDIA GPU devices. More information: <https://developer.nvidia.com/nvidia-system-management-interface>.

  • Display information on all available GPUs and processes using them:
    nvidia-smi
  • Display more detailed GPU information:
    nvidia-smi --query
  • Monitor overall GPU usage with 1-second update interval:
    nvidia-smi dmon

© tl;dr; authors and contributors