From 39fd1720c24e122000484b2eb174d01603154771 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Sat, 11 Jan 2020 21:53:58 +0800 Subject: [PATCH] top: update page (#3744) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * top: update page * Update pages/linux/top.md Co-Authored-By: Zlatan Vasović Co-authored-by: Zlatan Vasović --- pages/linux/top.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/top.md b/pages/linux/top.md index 28d93278f..0831e04e3 100644 --- a/pages/linux/top.md +++ b/pages/linux/top.md @@ -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}})`