On Thu, 24 Mar 2011, Jason McIntyre wrote:
On Thu, Mar 24, 2011 at 06:02:15PM +0000, Glen Anderson wrote:
I liked the idea of using an adjective when talking about the combined
statistics however cumulative isn't really an accurate term and while
ostensibly mean seems appropriate I'm unsure how top calculates that
line on machines with CPUs of varying speeds. If it takes a mean of
the percentages it's clearly misleading, if it does something a it
cleverer use of the term mean is wrong. With this in mind I think the
following tweak to Jason's suggestion would be best.
i'm fine with this. anyone object?
I am not in position to object or not. What I meant was to make it clear
right from the man page that "single line for all processors" is indeed
*combined* statistics for all CPU's in one set of numbers, not statistics
for all individual processors somehow condensed to a single line. Perhaps
word "combined" can be used there?
Anyway, it was only a suggestion, if you think it is not relevant, simply
ignore it. Glen's version is good too.
Have a nice day.
Regards,
David
$ diff -u top.1 top.1.new
--- top.1 Thu Mar 24 12:39:45 2011
+++ top.1.new Thu Mar 24 17:59:30 2011
@@ -75,7 +75,8 @@
The options are as follows:
.Bl -tag -width Ds
.It Fl 1
-Display CPU statistics on a single line instead of a line per CPU.
+Display CPU statistics for all processors on a single line instead of one
+line per CPU.
.It Fl b
Use
.Em batch
@@ -282,7 +283,8 @@
.Sq P
interactive command.
.It 1
-Display CPU statistics on a single line instead of a line per CPU.
+Toggle CPU statistics between a single line for all processors and one line
+per CPU.
.It C
Toggle the display of process command line arguments.
.It d Ar count