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
Ein Verne 2020-01-11 21:53:58 +08:00 committed by Zlatan Vasović
parent 36e37a07fd
commit 39fd1720c2
1 changed files with 4 additions and 0 deletions

View File

@ -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}})`