summaryrefslogtreecommitdiffstats
path: root/contrib/top/commands.c
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2005-05-18 13:30:08 +0000
committerkeramida <keramida@FreeBSD.org>2005-05-18 13:30:08 +0000
commit0f9725e09b1113e803b8655641b23fbe9c5e7719 (patch)
tree42f2b2a54bba39dc0ab8b8514eefae075556a375 /contrib/top/commands.c
parent4bf80fbbcff1c8b9d5088dd0d5195293ee0f09da (diff)
downloadFreeBSD-src-0f9725e09b1113e803b8655641b23fbe9c5e7719.zip
FreeBSD-src-0f9725e09b1113e803b8655641b23fbe9c5e7719.tar.gz
Merge the CPU and WCPU columns in a single %6.2f column, add a new 'C'
command that toggles between the two and update the ORDER_PCTCPU() macro to sort correctly by the visible "cpu" value. This saves 6 more columns in 80-column terminals, making things a lot better for the COMMAND column. Tested on: i386, sparc64 (panther), amd64 (sledge) Approved by: davidxu (in principle)
Diffstat (limited to 'contrib/top/commands.c')
-rw-r--r--contrib/top/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/top/commands.c b/contrib/top/commands.c
index 8d7f331..200f0cc 100644
--- a/contrib/top/commands.c
+++ b/contrib/top/commands.c
@@ -68,6 +68,7 @@ sophisticated enough to handle those commands gracefully.\n\n", stdout);
else
{
fputs("\
+C - toggle the displaying of weighted CPU percentage\n\
d - change number of displays to show\n\
e - list errors generated by last \"kill\" or \"renice\" command\n\
i or I - toggle the displaying of idle processes\n\
OpenPOWER on IntegriCloud