summaryrefslogtreecommitdiffstats
path: root/contrib/top/commands.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-05-31 15:11:23 +0000
committerjhb <jhb@FreeBSD.org>2011-05-31 15:11:23 +0000
commit3e43795a7a21a21ba53f04ea258e3e79a7a34e9d (patch)
tree8efe55a81b9744430f38ee8729ed55f893ffa78d /contrib/top/commands.c
parent90dbe667c5ed0f8123234e0f8b196f31befc4cf7 (diff)
downloadFreeBSD-src-3e43795a7a21a21ba53f04ea258e3e79a7a34e9d.zip
FreeBSD-src-3e43795a7a21a21ba53f04ea258e3e79a7a34e9d.tar.gz
Add a new option to toggle the display of the system idle process (per-CPU
idle threads). The process is displayed by default (subject to whether or not system processes are displayed) to preserve existing behavior. The system idle process can be hidden via the '-z' command line argument or the 'z' key while top is running. When it is hidden, top more closely matches the behavior of FreeBSD <= 4.x where idle time was not accounted to any process. MFC after: 2 weeks
Diffstat (limited to 'contrib/top/commands.c')
-rw-r--r--contrib/top/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/top/commands.c b/contrib/top/commands.c
index 47f4a2e..7891068 100644
--- a/contrib/top/commands.c
+++ b/contrib/top/commands.c
@@ -94,6 +94,7 @@ S - toggle the displaying of system processes\n\
a - toggle the displaying of process titles\n\
t - toggle the display of this process\n\
u - display processes for only one user (+ selects all users)\n\
+z - toggle the displaying of the system idle process\n\
\n\
\n", stdout);
}
OpenPOWER on IntegriCloud