Process Monitor
Monitor system processes, identify top CPU/memory consumers, and alert on resource thresholds.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sa9saq/process-monitorProcess Monitor
Monitor system processes and resource usage with threshold-based alerts.
Requirements
- Standard Unix tools:
ps,top,free,uptime(pre-installed on Linux) - No API keys needed
Instructions
-
Resource summary — Run and format results:
uptime # Load average free -h # Memory/swap usage nproc # CPU count df -h / /home 2>/dev/null # Key disk partitions -
Top processes — By CPU or memory:
ps aux --sort=-%mem | head -15 # Top memory consumers ps aux --sort=-%cpu | head -15 # Top CPU consumers -
Search processes — Find by name or PID:
ps aux | grep -i "[n]ode" # By name (brackets avoid matching grep itself) ps -p 1234 -o pid,user,%cpu,%mem,cmd # By PID -
Threshold alerts — Flag processes exceeding limits:
- Single process CPU > 80% → ⚠️ Warning
- Single process memory > 50% → ⚠️ Warning
- System memory > 90% → 🔴 Critical
- Load average > 2× CPU count → 🔴 Critical
-
Output format:
## 📊 Process Report — <hostname> (<timestamp>) | Metric | Value | Status | |---------------|----------------|--------| | Load Average | 1.2 / 0.8 / 0.5 | 🟢 | | Memory | 12.3/16.0 GB (77%) | 🟢 | | Swap | 0.0/4.0 GB | 🟢 | ### Top 5 by Memory | PID | User | %MEM | %CPU | Command | |-------|-------|------|------|----------------| | 1234 | root | 12.3 | 2.1 | /usr/bin/java |
Edge Cases
- Zombie processes: Check with
ps aux | awk '$8 ~ /Z/'— report count and parent PID. - No
topavailable: Fall back to/proc/loadavgand/proc/meminfo. - Docker/container:
psmay show host processes. Use--pid=hostawareness.
Security
- Read-only commands only — never kill processes without explicit user confirmation.
- Sanitize process names in output (may contain sensitive paths or arguments).
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-sa9saq-process-monitor": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
threat-model
Threat modeling and attack scenario design. Identify risks before they become vulnerabilities. STRIDE, attack trees, risk matrix.
Sns Auto Poster
Schedule and automate social media posts to X/Twitter with cron-based queue management.
security-review
Comprehensive security review for code, configs, and operations. OWASP, prompt injection, crypto security. Auto-triggers on security-related changes.
Readme Generator
Auto-generate comprehensive README.md files by analyzing project structure and configuration.
Api Health Check
Monitor API endpoints, measure response times, and diagnose connectivity issues.