🖥️nvidia-smi

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the nvidia-smi command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#  ███╗   ██╗██╗   ██╗██╗██████╗ ██╗ █████╗       ███████╗███╗   ███╗██╗
#  ████╗  ██║██║   ██║██║██╔══██╗██║██╔══██╗      ██╔════╝████╗ ████║██║
#  ██╔██╗ ██║██║   ██║██║██║  ██║██║███████║█████╗███████╗██╔████╔██║██║
#  ██║╚██╗██║╚██╗ ██╔╝██║██║  ██║██║██╔══██║╚════╝╚════██║██║╚██╔╝██║██║
#  ██║ ╚████║ ╚████╔╝ ██║██████╔╝██║██║  ██║      ███████║██║ ╚═╝ ██║██║
#  ╚═╝  ╚═══╝  ╚═══╝  ╚═╝╚═════╝ ╚═╝╚═╝  ╚═╝      ╚══════╝╚═╝     ╚═╝╚═╝

# list all available NVIDIA devices
nvidia-smi -L

# list certain details about each GPU
nvidia-smi --query-gpu=index,name,uuid,serial --format=csv

# list GPU details
nvidia-smi -i 0 -q

# show system topology
nvidia-smi topo --matrix
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░