path: root/contrib/top/top.X
diff options
authorJohn Baldwin <jhb@FreeBSD.org>2011-05-31 15:11:23 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2011-05-31 15:11:23 +0000
commitc9385548e7a298c7e3185a32dddaaba375cb4caa (patch)
tree8efe55a81b9744430f38ee8729ed55f893ffa78d /contrib/top/top.X
parent06034940f55b2514ecf6c0510d07aeffdcc8e134 (diff)
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
Notes: svn path=/head/; revision=222530
Diffstat (limited to 'contrib/top/top.X')
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/top/top.X b/contrib/top/top.X
index 830e50dd2346..b70ce7e2c5e4 100644
--- a/contrib/top/top.X
+++ b/contrib/top/top.X
@@ -10,7 +10,7 @@ top \- display and update information about the top cpu processes
.B top
-.B \-abCHIijnPqStuv
+.B \-abCHIijnPqStuvz
] [
.BI \-d count
] [
@@ -142,6 +142,9 @@ Write version number information to stderr then exit immediately.
No other processing takes place when this option is used. To see current
revision information while top is running, use the help command \*(lq?\*(rq.
+.B \-z
+Do not display the system idle process.
.BI \-d count
Show only
.I count
@@ -303,6 +306,9 @@ ID.
Toggle the display of the
.I top
+.B z
+Toggle the display of the system idle process.
The actual display varies depending on the specific variant of Unix
that the machine is running. This description may not exactly match