Process inspection CLI for searching, sorting, and exporting local process data with JSON output.
$brew install procs
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
procs is a replacement for ps that makes local process inspection easier with search, richer columns, and optional tree or watch views. It focuses on understanding what is running on a machine, including ports, throughput, and container context when the OS exposes them.
What It Enables
- Search running processes by PID, user, command, or other configured columns, then sort or filter the results for follow-up shell actions.
- Inspect richer process state than stock
ps, including CPU and memory usage, elapsed time, read or write throughput, bound TCP or UDP ports, and Docker container names when available. - Export process rows as JSON or switch to tree and watch views to trace parent-child relationships and live changes during debugging.
Agent Fit
--json, stable flags, and non-interactive search or sort modes make it easy to wrap in scripts that need to find processes before killing, tracing, or querying them with other tools.- It is a local, read-only inspection surface rather than a broader service-management CLI, so the value is strongest in inspect and verify loops.
- Watch mode and pager behavior are more human-oriented, and some high-value fields depend on platform support, elevated privileges, or Docker socket access.
Caveats
- Some columns are platform-specific, and macOS or Linux permissions can hide other users' processes or I/O and port data unless run with elevated privileges.
- Docker names require access to the Docker socket, and watch mode is an interactive loop rather than a headless monitoring API.