| name | MemWatch |
| description | Monitor RAM usage in real time and alert on high memory consumption thresholds. Use when tracking memory, identifying RAM hogs, setting alert thresholds. |
| version | 3.0.0 |
| author | BytesAgain |
| homepage | https://bytesagain.com |
| source | https://github.com/bytesagain/ai-skills |
| tags | ["memory","ram","monitor","system","process","swap","admin","performance"] |
| categories | ["System Tools","Developer Tools"] |
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 |
Examples
memwatch status
memwatch top 5
memwatch watch
memwatch process 1234
memwatch swap
memwatch alert 80
memwatch detailed
memwatch compare
Requirements
free, ps (standard)
/proc/meminfo, /proc/[pid]/status (Linux)