1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 12:35:28 +02:00

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>
This commit is contained in:
Ein Verne 2020-01-11 21:53:58 +08:00 committed by Zlatan Vasović
parent 36e37a07fd
commit 39fd1720c2

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