From 2c6222e30a25a833e8554709818e1c378ca46848 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Fri, 12 Feb 2021 18:48:09 +0100 Subject: Option and key ("*") to collapse / expand all branches under PID 1 (and PID 2 if kernel threads are shown) Based on hishamhm/htop#510 by Krishna Chaitanya, B Closes #68 --- htop.1.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'htop.1.in') diff --git a/htop.1.in b/htop.1.in index a587af21..afd882e4 100644 --- a/htop.1.in +++ b/htop.1.in @@ -185,9 +185,11 @@ Quit Invert the sort order: if sort order is increasing, switch to decreasing, and vice-versa. .TP -.B +, \- +.B +, \-, * When in tree view mode, expand or collapse subtree. When a subtree is collapsed a "+" sign shows to the left of the process name. +Pressing "*" will expand or collapse all children of PIDs without parents, so +typically PID 1 (init) and PID 2 (kthreadd on Linux, if kernel threads are shown). .TP .B a (on multiprocessor machines) Set CPU affinity: mark which CPUs a process is allowed to use. -- cgit v1.2.3