Gpu Monitor
DevOps & Securitygpu-monitorGpu Monitor is an Agent Skill for devops & security published in the Xiangyue-Zhang/auto-deep-researcher-24x7 repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Check GPU status, running experiments, and available resources
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Xiangyue-Zhang/auto-deep-researcher-24x7/blob/HEAD/skills/gpu-monitor/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gpu-monitor, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
gpu-monitor
Quick GPU status check for experiment management.
Usage
Claude Code: /gpu-monitor
Claude Code: /gpu-monitor --server user@remote-host
Codex: $gpu-monitor
Behavior
- Run
nvidia-smito get current GPU status - Display a clean summary table:
- GPU ID, Name, Memory (used/total), Utilization %, Temperature
- Running processes on each GPU
- Identify which GPUs are free (< 1GB memory used)
- Identify which GPUs are running experiments (check for python/torchrun processes)
- If
--serveris provided, SSH to remote server first
Output Format
GPU Status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GPU Name Memory Util Temp
0 L20X 144GB 45123/147456 98% 72°C ← training (PID 12345)
1 L20X 144GB 234/147456 0% 35°C ← FREE
2 L20X 144GB 43210/147456 95% 70°C ← training (PID 12346)
3 L20X 144GB 1024/147456 12% 40°C ← keeper
Free GPUs: [1]
Training: GPU 0 (PID 12345), GPU 2 (PID 12346)