procs
Display information about the active processes. More information: https://github.com/dalance/procs.
-
List all processes showing the PID, user, CPU usage, memory usage, and the command which started them:
procs
-
List all processes as a tree:
procs --tree
-
List information about processes, if the commands which started them contain
zsh
:
procs {{zsh}}
-
List information about all processes sorted by CPU time in [a]scending or [d]escending order:
procs {{--sorta|--sortd}} cpu
-
List information about processes with either a PID, command, or user containing
41
orfirefox
:
procs --or {{PID|command|user}} {{41}} {{firefox}}
-
List information about processes with both PID
41
and a command or user containingzsh
:
procs --and {{41}} {{zsh}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.