---
name: GPU Monitor
slug: gpu-monitor
category: DevOps
description: GPU Monitor checks GPU status, running experiments, and available resources by running nvidia-smi and summarizing the output. Use it to quickly see which GPUs are free or in use for training.
github: "https://github.com/Xiangyue-Zhang/auto-deep-researcher-24x7/tree/main/skills/gpu-monitor"
language: Python
stars: 1279
forks: 111
install: "npx degit https://github.com/Xiangyue-Zhang/auto-deep-researcher-24x7/tree/main/skills/gpu-monitor ~/.claude/skills/gpu-monitor"
installs_to: ~/.claude/skills/gpu-monitor
source_path: skills/gpu-monitor/SKILL.md
collection_size: 8
category_size: 798
collection_url: "https://dirskills.com/collections/Xiangyue-Zhang/auto-deep-researcher-24x7"
added: 2026-08-20T07:55:04.430Z
last_synced: 2026-08-20T07:55:04.430Z
canonical_url: "https://dirskills.com/skills/gpu-monitor"
---

# GPU Monitor

GPU Monitor checks GPU status, running experiments, and available resources by running nvidia-smi and summarizing the output. Use it to quickly see which GPUs are free or in use for training.

**Install:**

```bash
npx degit https://github.com/Xiangyue-Zhang/auto-deep-researcher-24x7/tree/main/skills/gpu-monitor ~/.claude/skills/gpu-monitor
```

## README

# 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

1. Run `nvidia-smi` to get current GPU status
2. Display a clean summary table:
   - GPU ID, Name, Memory (used/total), Utilization %, Temperature
   - Running processes on each GPU
3. Identify which GPUs are free (< 1GB memory used)
4. Identify which GPUs are running experiments (check for python/torchrun processes)
5. If `--server` is 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)
```
