procs(1)
A modern replacement for ps that lists running processes with a more readable and user-friendly output format.
Synopsis
procs [OPTION]... [PROCESS]...Description
procs is a modern alternative to the traditional ps command, written in Rust. It displays information about running processes with sensible defaults, colorized output, and intuitive column selection. The output is automatically paged and more readable than standard ps.
Process selection can be done by process ID, process name, or various search criteria. The command is designed to be user-friendly while remaining powerful for advanced filtering and custom output formats.
Common options
| Flag | What it does |
|---|---|
-p, --pid <PID> | Show process(es) by process ID |
-c, --cmdline <CMDLINE> | Show process(es) by command line pattern (partial matching) |
-u, --user <USER> | Show process(es) by user name or UID |
-a, --and | Combine multiple conditions with AND logic (default is OR) |
--or | Combine multiple conditions with OR logic |
-o, --output <COLUMNS> | Customize displayed columns (e.g., pid,user,cpu,mem,command) |
--color <WHEN> | Control colored output: auto, always, or never |
-n, --no-header | Hide the header row |
--pager <PAGER> | Specify pager command (less, more, etc.) |
--no-pager | Disable paging output to terminal |
-d, --depth <DEPTH> | Limit tree depth when showing process hierarchy |
-T, --tree | Show process tree (parent-child relationships) |
Examples
List all running processes with default columns
procsShow process with PID 1234
procs -p 1234Show all processes with 'bash' in their command line
procs -c bashShow all processes running as the root user
procs -u rootDisplay custom columns: PID, user, CPU%, memory%, and command
procs -o pid,user,cpu,mem,commandShow the init process and its entire child process tree
procs -T -p 1Show processes running as root that contain 'systemd' in the command line
procs -u root -c systemdShow all processes for current user without paging
procs --no-pager -u $USER