server-health
SKILL.md
Server Health Skill
Quick server monitoring with system stats, processes, OpenClaw gateway info, and services.
Usage
Standard view:
./server-health.sh
Verbose (includes temp, network, swap, I/O):
./server-health.sh --verbose
JSON output (for automation):
./server-health.sh --json
Alerts only (warnings/errors):
./server-health.sh --alerts
What It Shows
🔴 Always
- System stats (CPU, RAM, Disk, Uptime)
- Top 3-5 processes by CPU/RAM
- OpenClaw Gateway status & config
- Running services (Docker, PostgreSQL, etc.)
🟡 Conditional
- Alerts (disk >90%, RAM >80%, CPU >90%)
- Swap usage (if in use)
🟢 Verbose only
- Temperature (if sensors available)
- Network traffic
- Disk I/O
- Detailed service info
Example Output
🖥️ SERVER HEALTH
━━━━━━━━━━━━━━━━━━━━
💻 SYSTEM
CPU: ████░░░░░░ 42% (Load: 1.2, 0.8, 0.5)
RAM: ██████░░░░ 1.4GB/8GB (18%)
DISK: ████░░░░░░ 45GB/100GB (45%)
UP: ⏱️ 5d 3h
🔄 TOP PROCESSES
node 35% 450MB
postgres 12% 280MB
openclaw 8% 180MB
⚡ OPENCLAW GATEWAY
Status: ✅ Running (PID: 1639125)
Uptime: 2d 5h | Port: 18789 | v2026.2.6-3
🤖 MODEL CONFIG
Primary: claude-sonnet-4-5
Context: 43k/128k (33%) | 574↓ 182↑ tokens
Fallbacks: glm-4.7 → copilot-sonnet → opus-4-5
📊 SESSIONS
Active: 3 | Heartbeat: 30m | Last: 1m ago
🐳 SERVICES
Docker: ✅ 3 containers
PostgreSQL: ✅ Running