System Monitor Pro 🖥️
Real-time OpenClaw system monitoring skill. Beautiful formatted output directly in your chat.
Features
- - 🖥️ CPU / Memory / Disk usage with visual bars
- 🎮 GPU monitoring (NVIDIA) — utilization + VRAM
- 🌐 Gateway status + uptime
- ⏰ Cron job status overview
- 🤖 Model & quota tracking
- 💻 Multi-machine support (SSH remote monitoring)
- 📊 Beautiful terminal-style formatted output
- 🔔 Alert thresholds (CPU>80%, Memory>85%, Disk>90%)
Usage
Just say any of these:
- - "system status" / "系统状态"
- "monitor" / "监控"
- "health check" / "健康检查"
- "dashboard"
How It Works
When triggered, run the monitor script:
CODEBLOCK0
Options
- -
--remote user@host — Monitor a remote machine via SSH - INLINECODE1 — Output raw JSON instead of formatted text
- INLINECODE2 — Only show items that need attention
Output Format
The script outputs a beautifully formatted system status card like:
CODEBLOCK1
Multi-Machine Example
CODEBLOCK2
Integration
Add to your HEARTBEAT.md for periodic monitoring:
CODEBLOCK3
Requirements
- - Node.js 18+
- macOS or Linux
- SSH access for remote monitoring (optional)
- INLINECODE3 for GPU monitoring (optional)
Files
| File | Description |
|---|
| SKILL.md | This file |
| monitor.js |
Main monitoring script |
System Monitor Pro 🖥️
实时 OpenClaw 系统监控技能。在聊天中直接输出精美的格式化信息。
功能特性
- - 🖥️ CPU / 内存 / 磁盘使用率(带可视化进度条)
- 🎮 GPU 监控(NVIDIA)— 利用率 + 显存
- 🌐 网关状态 + 运行时间
- ⏰ 定时任务状态概览
- 🤖 模型与配额追踪
- 💻 多机器支持(SSH 远程监控)
- 📊 精美的终端风格格式化输出
- 🔔 告警阈值(CPU>80%、内存>85%、磁盘>90%)
使用方法
只需说出以下任一指令:
- - system status / 系统状态
- monitor / 监控
- health check / 健康检查
- dashboard
工作原理
触发后,运行监控脚本:
bash
node /monitor.js [--remote user@host] [--json] [--alert-only]
选项
- - --remote user@host — 通过 SSH 监控远程机器
- --json — 输出原始 JSON 而非格式化文本
- --alert-only — 仅显示需要关注的项目
输出格式
脚本输出精美的系统状态卡片,示例如下:
🦞 OpenClaw 系统状态
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🖥️ CPU ██░░░░░░░░ 18%
💾 内存 ████░░░░░░ 42% 6.8/16.0 GB
💿 磁盘 █░░░░░░░░░ 7% 14/228 GB
🌐 网关 ● 运行中 (pid 1234)
⏰ 定时任务 6/6 正常
🤖 模型 claude-opus-4-6 (yunyi)
💰 配额 ████████████ 100% ⚠️
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
多机器示例
bash
本地机器
node monitor.js
通过 SSH 远程机器
node monitor.js --remote macmini2001-01@100.104.241.24
同时监控两台机器
node monitor.js && node monitor.js --remote macmini2001-01@100.104.241.24
集成
添加到 HEARTBEAT.md 进行定期监控:
markdown
系统监控(每 30 分钟)
运行:node ~/.openclaw/workspace/skills/system-monitor-pro/monitor.js --alert-only
如果发现告警 → 通知用户
系统要求
- - Node.js 18+
- macOS 或 Linux
- SSH 访问(用于远程监控,可选)
- nvidia-smi(用于 GPU 监控,可选)
文件结构
| 文件 | 描述 |
|---|
| SKILL.md | 本文件 |
| monitor.js |
主监控脚本 |