snippetbashTip
procs — Display information about the active processes. More information: <https://github.com/dalance/procs/
Viewed 0 times
thecommandcliinformationactiveaboutprocsdisplay
Problem
How to use the
procs command: Display information about the active processes. More information: <https://github.com/dalance/procs/blob/master/man/procs.1.adoc>.Solution
procs — Display information about the active processes. More information: <https://github.com/dalance/procs/blob/master/man/procs.1.adoc>.List all processes showing the PID, user, CPU usage, memory usage, and the command which started them:
procsList all processes as a tree:
procs --treeList 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}} cpuList information about processes with either a PID, command, or user containing
41 or firefox:procs --or {{PID|command|user}} {{41}} {{firefox}}List information about processes with both PID
41 and a command or user containing zsh:procs --and {{41}} {{zsh}}Code Snippets
List all processes showing the PID, user, CPU usage, memory usage, and the command which started them
procsList all processes as a tree
procs --treeList 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}} cpuList information about processes with either a PID, command, or user containing `41` or `firefox`
procs --or {{PID|command|user}} {{41}} {{firefox}}Context
tldr-pages: common/procs
Revisions (0)
No revisions yet.