MemWatch
Installation
SKILL.md
MemWatch
Memory monitor: view usage, find top consumers, watch trends, inspect per-process memory, check swap, and alert on thresholds.
Commands
| Command | Description |
|---|---|
memwatch status |
Current memory usage with visual bar and breakdown |
memwatch top [n] |
Top N memory-consuming processes (default: 10) |
memwatch watch |
Snapshot memory every 2s for 10 iterations |
memwatch process <pid> |
Memory details for a specific PID (VmRSS, VmSize, PSS, etc.) |
memwatch swap |
Swap usage details with top swap consumers |
memwatch alert <threshold> |
Check if memory usage exceeds threshold % |
memwatch detailed |
Full /proc/meminfo dump |
memwatch compare |
Compare memory now vs 30 seconds later (delta) |
memwatch version |
Show version |