summaryrefslogtreecommitdiffstats
path: root/contrib/top
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2006-04-19 11:47:51 +0000
committerkeramida <keramida@FreeBSD.org>2006-04-19 11:47:51 +0000
commit0fb9a8f112ed4a82aa3a2e71ca5916ff77b73b39 (patch)
treef4ecd008ddaf446274bda98bba30692cd5a137d8 /contrib/top
parentfe5c8255df598de68e545aabeb2b1c272e548b9a (diff)
downloadFreeBSD-src-0fb9a8f112ed4a82aa3a2e71ca5916ff77b73b39.zip
FreeBSD-src-0fb9a8f112ed4a82aa3a2e71ca5916ff77b73b39.tar.gz
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
Diffstat (limited to 'contrib/top')
-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 be9a615..60ba77c 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.
OpenPOWER on IntegriCloud