$linuxjunkies
>

procs(1)

A modern replacement for ps that lists running processes with a more readable and user-friendly output format.

UbuntuDebianFedoraArch

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

FlagWhat 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, --andCombine multiple conditions with AND logic (default is OR)
--orCombine 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-headerHide the header row
--pager <PAGER>Specify pager command (less, more, etc.)
--no-pagerDisable paging output to terminal
-d, --depth <DEPTH>Limit tree depth when showing process hierarchy
-T, --treeShow process tree (parent-child relationships)

Examples

List all running processes with default columns

procs

Show process with PID 1234

procs -p 1234

Show all processes with 'bash' in their command line

procs -c bash

Show all processes running as the root user

procs -u root

Display custom columns: PID, user, CPU%, memory%, and command

procs -o pid,user,cpu,mem,command

Show the init process and its entire child process tree

procs -T -p 1

Show processes running as root that contain 'systemd' in the command line

procs -u root -c systemd

Show all processes for current user without paging

procs --no-pager -u $USER

Related commands