aboutsummaryrefslogtreecommitdiff
path: root/contrib/top/top.X
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2004-07-01 09:12:38 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2004-07-01 09:12:38 +0000
commitdb6bb7fc01bfe9aa6d36f00c47ba8c230a6a135e (patch)
treec715d25705cef277e259078e1d728bc053d10852 /contrib/top/top.X
parent6cc1cdf47b4140d558e88bb4df1da3b3d8cc113b (diff)
downloadsrc-db6bb7fc01bfe9aa6d36f00c47ba8c230a6a135e.tar.gz
src-db6bb7fc01bfe9aa6d36f00c47ba8c230a6a135e.zip
New feature, provide a display that shows the amount of IO processes
are doing. Toggle this mode by hitting "m" or passing the command line option "-m io" to top(1). This allows one to identify disk bandwidth hogs much easier.
Notes
Notes: svn path=/head/; revision=131402
Diffstat (limited to 'contrib/top/top.X')
-rw-r--r--contrib/top/top.X8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/top/top.X b/contrib/top/top.X
index 4282f573ab7d..fb710609663b 100644
--- a/contrib/top/top.X
+++ b/contrib/top/top.X
@@ -20,6 +20,8 @@ top \- display and update information about the top cpu processes
] [
.BI \-U username
] [
+.BI \-m io | cpu
+] [
.I number
]
.SH DESCRIPTION
@@ -87,6 +89,9 @@ Do not display the
.I top
process.
.TP
+.BI \-m display
+Display either 'cpu' or 'io' statistics. Default is 'cpu'.
+.TP
.B \-n
Use \*(lqnon-interactive\*(rq mode. This is identical to \*(lqbatch\*(rq
mode.
@@ -214,6 +219,9 @@ will make
.I top
show one final display and then immediately exit.
.TP
+.B m
+Toggle the display between 'cpu' and 'io' modes.
+.TP
.B n or #
Change the number of processes to display (prompt for new number).
.TP