aboutsummaryrefslogtreecommitdiff
path: root/contrib/top/top.X
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2006-04-19 11:47:51 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2006-04-19 11:47:51 +0000
commit4ced3fbbf1e21244495bbae3f588a010bd32641e (patch)
treef4ecd008ddaf446274bda98bba30692cd5a137d8 /contrib/top/top.X
parent70b75adf82d1fbf19b46c202048c7602c632d9f3 (diff)
downloadsrc-4ced3fbbf1e21244495bbae3f588a010bd32641e.tar.gz
src-4ced3fbbf1e21244495bbae3f588a010bd32641e.zip
Document the -C option of top(1), which has been added to the source
and the usage message of top, but not to the manpage. Pointy hat to: keramida Reminded by: ru MFC after: 1 week
Notes
Notes: svn path=/head/; revision=157865
Diffstat (limited to 'contrib/top/top.X')
-rw-r--r--contrib/top/top.X14
1 files changed, 13 insertions, 1 deletions
diff --git a/contrib/top/top.X b/contrib/top/top.X
index be9a615d335b..60ba77c4612d 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 \-bHIinqStuv
+.B \-bCHIinqStuv
] [
.BI \-d count
] [
@@ -62,6 +62,18 @@ is redirected to a file, it acts as if it were being run on a dumb
terminal.
.SH OPTIONS
.TP
+.B \-C
+Toggle CPU display mode.
+By default top displays the weighted CPU percentage in the WCPU column
+(this is the same value that
+.IR ps (1)
+displays as CPU).
+Each time
+.B \-C
+flag is passed it toggles between \*(lqraw cpu\*(rq mode
+and \*(lqweighted cpu\*(rq mode, showing the \*(lqCPU\*(rq or
+the \*(lqWCPU\*(rq column respectively.
+.TP
.B \-S
Show system processes in the display. Normally, system processes such as
the pager and the swapper are not shown. This option makes them visible.