proc
Manage system tasks: list/filter/sort by name, CPU, or memory; view trees and PID details; or terminate by PID/name with confirmation.
Instructions
Processes on this machine: list (filter by name, sort by cpu/memory), tree (parent/child hierarchy), info (one pid in detail), kill (by pid, or every process matching a name — which requires confirm=true). Uses ps on Unix and PowerShell/tasklist on Windows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | info/kill/tree: the process id. | |
| name | No | list/kill: regex matched against the process name and command line. | |
| sort | No | list: ordering. Default cpu. | |
| tree | No | kill: also kill the children of the target. | |
| limit | No | list: how many processes to show. Default 25. | |
| action | No | What to do. Default list. | |
| signal | No | kill: SIGTERM (default), SIGKILL, SIGINT. Ignored on Windows, which always force-kills. | |
| confirm | No | Required to kill by name, since a regex can match more than you meant. | |
| max_bytes | No | Byte cap on returned output. |