From 0f9725e09b1113e803b8655641b23fbe9c5e7719 Mon Sep 17 00:00:00 2001 From: keramida Date: Wed, 18 May 2005 13:30:08 +0000 Subject: 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) --- contrib/top/commands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/top/commands.c') 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\ -- cgit v1.1