LinuxCommandLibrary

procs

Display information about the active processes.

TLDR

List all processes showing the PID, user, CPU usage, memory usage, and the command which started them

$ procs
copy


List all processes as a tree
$ procs --tree
copy


List information about processes, if the commands which started them contain zsh
$ procs [zsh]
copy


List information about all processes sorted by CPU time in [a]scending or [d]escending order
$ procs [--sorta|--sortd] cpu
copy


List information about processes with either a PID, command, or user containing 41 or firefox
$ procs --or [PID|command|user] [41] [firefox]
copy


List information about processes with both PID 41 and a command or user containing zsh
$ procs --and [41] [zsh]
copy

Copied to clipboard