🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub✦ BytesAgain

Procmon

by @bytesagain3

Watch and control running processes in real time. Use when scanning active PIDs, monitoring resource spikes, reporting trees, alerting on crashes.

Versionv3.0.0
Downloads585
Installs1
TERMINAL
clawhub install procmon

πŸ“– About This Skill


name: ProcMon description: "Watch and control running processes in real time. Use when scanning active PIDs, monitoring resource spikes, reporting trees, alerting on crashes." version: "3.0.0" author: "BytesAgain" homepage: https://bytesagain.com source: https://github.com/bytesagain/ai-skills tags: ["process","monitor","manager","kill","system","admin","top","htop"] categories: ["System Tools", "Developer Tools"]

ProcMon

Process monitor: list, filter, and watch processes, find zombies, identify CPU/memory hogs, count by state, and log process stats.

Commands

| Command | Description | |---------|-------------| | procmon list [filter] | List processes (optionally filter by name) | | procmon watch | Monitor a named process (5 snapshots, 2s interval) | | procmon zombie | Find zombie processes with parent info | | procmon heavy | Show top 10 CPU and top 10 memory processes | | procmon count | Count processes by state (running, sleeping, zombie, etc.) | | procmon log | Log matching process stats to ~/.procmon/.log | | procmon tree [pid] | Show process tree (full or rooted at PID) | | procmon ports | Show processes listening on network ports | | procmon version | Show version |

Examples

procmon list               # β†’ top 25 processes by CPU
procmon list nginx         # β†’ filter for nginx processes
procmon watch sshd         # β†’ 5 snapshots of sshd, 2s apart
procmon zombie             # β†’ find zombie processes
procmon heavy              # β†’ top 10 by CPU + top 10 by memory
procmon count              # β†’ process state breakdown
procmon log node           # β†’ log node process stats to file
procmon tree               # β†’ full process tree
procmon tree 1             # β†’ tree rooted at PID 1
procmon ports              # β†’ listening ports with PIDs

Requirements

  • ps (standard)
  • pstree (optional, for tree view)
  • ss or netstat (optional, for port listing)
  • πŸ’‘ Examples

    procmon list               # β†’ top 25 processes by CPU
    procmon list nginx         # β†’ filter for nginx processes
    procmon watch sshd         # β†’ 5 snapshots of sshd, 2s apart
    procmon zombie             # β†’ find zombie processes
    procmon heavy              # β†’ top 10 by CPU + top 10 by memory
    procmon count              # β†’ process state breakdown
    procmon log node           # β†’ log node process stats to file
    procmon tree               # β†’ full process tree
    procmon tree 1             # β†’ tree rooted at PID 1
    procmon ports              # β†’ listening ports with PIDs