1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/procs.md
Emily Grace Seville 6272a9078c
procs: refresh page (#9594)
Co-authored-by: pixel <pixel@chrissx.de>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2022-12-07 06:44:52 +01:00

24 lines
745 B
Markdown

# 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 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` 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}}`