All Shortcuts

nvidia-smi (GPU) Shortcuts & Commands — Complete Cheat Sheet (19)

Complete nvidia-smi commands cheat sheet for GPU monitoring, management, and diagnostics on Linux. Essential reference for ML engineers, data scientists, and GPU server administrators.

Related Shortcut Pages

WEKA NetApp ONTAP NVIDIA DCGM Slurm Cisco IOS systemctl / systemd IBM Spectrum Scale / ESS Juniper JunOS ipmitool mdadm (RAID)

Search all nvidia-smi (GPU) shortcuts interactively

Interactive Shortcut Finder

All nvidia-smi (GPU) Shortcuts

GPU Monitoring

ShortcutActionDescription
nvidia-smiGPU status summaryShow GPU utilization, temperature, memory, and processes.
nvidia-smi -l 1Monitor every 1sRefresh GPU status every 1 second.
watch -n 1 nvidia-smiReal-time monitorReal-time GPU monitoring with watch command.
nvidia-smi -qDetailed infoShow all detailed GPU information.
nvidia-smi -LList GPUsList all GPUs with UUIDs.
nvidia-smi pmonProcess monitorMonitor per-process GPU usage.
nvidia-smi dmonDevice monitorMonitor device metrics every second.
nvidia-smi topo -mTopologyShow GPU NVLink/PCIe topology.
nvidia-smi nvlink -sNVLink statusCheck NVLink connection status and bandwidth.

GPU Management

ShortcutActionDescription
nvidia-smi -pm 1Persistence Mode ONKeep driver loaded to reduce GPU init latency.
nvidia-smi -i 0 -pl 250Set power limitLimit GPU 0 max power to 250W.
nvidia-smi -i 0 -ac 1215,1410Set clocksSet memory/graphics clock speeds.
nvidia-smi -rgcReset clocksReset GPU clocks to default.
nvidia-smi -r -i 0Reset GPUReset GPU 0 (resolves ECC errors etc).
nvidia-smi -e 1Enable ECCEnable ECC memory correction.
nvidia-smi -q -d POWERPower detailsShow detailed GPU power information.

Query & CSV

ShortcutActionDescription
nvidia-smi --query-gpu=name,memory.total,memory.used --format=csvCSV queryOutput GPU info in CSV format.
nvidia-smi --query-gpu=utilization.gpu,temperature.gpu --format=csv -l 55s CSV loggingLog utilization and temp every 5 seconds.
nvidia-smi --query-compute-apps=pid,used_memory --format=csvPer-process memoryShow memory usage per GPU process.

Frequently Asked Questions

📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

→ Related guide: GPU cluster management: the full command guide

How do I check GPU usage on Linux?

Run 'nvidia-smi' to see a summary of all GPUs including utilization, temperature, memory usage, and running processes.

How do I monitor GPU in real time?

Use 'watch -n 1 nvidia-smi' or 'nvidia-smi -l 1' to refresh GPU status every second.

How do I check GPU memory usage per process?

Run 'nvidia-smi --query-compute-apps=pid,used_memory --format=csv' to see memory usage per process.

How do I enable persistence mode?

Run 'nvidia-smi -pm 1' as root to keep the NVIDIA driver loaded, reducing GPU initialization latency.

How do I check GPU topology and NVLink?

Use 'nvidia-smi topo -m' to see GPU interconnect topology including NVLink and PCIe connections.

What GPU Monitoring shortcuts does nvidia-smi (GPU) have?

nvidia-smi (GPU) includes 9 GPU Monitoring shortcuts, including nvidia-smi (GPU status summary) and nvidia-smi -l 1 (Monitor every 1s). See the full list in the GPU Monitoring section above.

What GPU Management shortcuts does nvidia-smi (GPU) have?

nvidia-smi (GPU) includes 7 GPU Management shortcuts, including nvidia-smi -pm 1 (Persistence Mode ON) and nvidia-smi -i 0 -pl 250 (Set power limit). See the full list in the GPU Management section above.

Can I combine nvidia-smi (GPU) shortcuts with other tools?

Yes — use My Stack to combine nvidia-smi (GPU) shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.

Browse shortcuts for 269 platforms

Explore All
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

🤖 Ask AI about nvidia-smi (GPU) shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok