diff options
author | John Baldwin <jhb@FreeBSD.org> | 2011-05-31 15:11:23 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2011-05-31 15:11:23 +0000 |
commit | c9385548e7a298c7e3185a32dddaaba375cb4caa (patch) | |
tree | 8efe55a81b9744430f38ee8729ed55f893ffa78d /contrib/top/top.X | |
parent | 06034940f55b2514ecf6c0510d07aeffdcc8e134 (diff) | |
download | src-c9385548e7a298c7e3185a32dddaaba375cb4caa.tar.gz src-c9385548e7a298c7e3185a32dddaaba375cb4caa.zip |
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
Notes:
svn path=/head/; revision=222530
Diffstat (limited to 'contrib/top/top.X')
-rw-r--r-- | contrib/top/top.X | 8 |
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 .SH SYNOPSIS .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. .TP +.B \-z +Do not display the system idle process. +.TP .BI \-d count Show only .I count @@ -303,6 +306,9 @@ ID. Toggle the display of the .I top process. +.TP +.B z +Toggle the display of the system idle process. .SH "THE DISPLAY" The actual display varies depending on the specific variant of Unix that the machine is running. This description may not exactly match |