1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 09:15:32 +02:00

procs: refresh page (#9594)

Co-authored-by: pixel <pixel@chrissx.de>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
Emily Grace Seville 2022-12-07 15:44:52 +10:00 committed by GitHub
parent cb5a6d4757
commit 6272a9078c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,18 +7,18 @@
`procs` `procs`
- Show information about processes, if the commands which started them contain `zsh`: - List information about processes, if the commands which started them contain `zsh`:
`procs {{zsh}}` `procs {{zsh}}`
- Show information about all processes sorted by CPU time in [a]scending or [d]escending order: - List information about all processes sorted by CPU time in [a]scending or [d]escending order:
`procs {{--sortd|--sorta}} cpu` `procs {{--sorta|--sortd}} cpu`
- Show information about processes with either a PID, command, or user containing (`zsh` or `firefox`): - List information about processes with either a PID, command, or user containing `41` or `firefox`:
`procs --or {{PID|command|user}} {{41}} {{firefox}}` `procs --or {{PID|command|user}} {{41}} {{firefox}}`
- Show information about processes with both PID `41` and a command or user containing `zsh`: - List information about processes with both PID `41` and a command or user containing `zsh`:
`procs --and {{41}} {{zsh}}` `procs --and {{41}} {{zsh}}`