mirror of https://github.com/CrimsonTome/tldr.git
top: update page (#3744)
* top: update page * Update pages/linux/top.md Co-Authored-By: Zlatan Vasović <zlatanvasovic@gmail.com> Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>client-spec/clarity
parent
36e37a07fd
commit
39fd1720c2
|
@ -14,6 +14,10 @@
|
|||
|
||||
`top -u {{user_name}}`
|
||||
|
||||
- Show the individual threads of a given process:
|
||||
|
||||
`top -Hp {{process_id}}`
|
||||
|
||||
- Show only the processes with the given PID(s), passed as a comma-separated list. (Normally you wouldn't know PIDs off hand. This example picks the PIDs from the process name):
|
||||
|
||||
`top -p $(pgrep -d ',' {{process_name}})`
|
||||
|
|
Loading…
Reference in New Issue