Skip to content

Instantly share code, notes, and snippets.

@brunos3d
Last active September 7, 2025 00:03
Show Gist options
  • Save brunos3d/cc62b1f14fb237a48a7da751a75f7396 to your computer and use it in GitHub Desktop.
Save brunos3d/cc62b1f14fb237a48a7da751a75f7396 to your computer and use it in GitHub Desktop.
Continuously monitors NVIDIA GPU status every 3 seconds. This command uses watch to repeatedly run nvidia-smi, showing real-time information about GPU usage, memory consumption, and running processes. Useful for tracking GPU load during training or computation-heavy tasks.
watch -n 3 nvidia-smi
# You can use the one below if you love layout shifts
# nvidia-smi --loop 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment