bin/129027: ambigious output for top(1)

KES kes-kes at yandex.ru
Fri Nov 21 09:05:35 PST 2008


Здравствуйте, Remko.

Вы писали 21 ноября 2008 г., 10:36:10:

rFo> Synopsis: ambigious output for top(1)

rFo> State-Changed-From-To: open->closed
rFo> State-Changed-By: remko
rFo> State-Changed-When: Fri Nov 21 08:36:09 UTC 2008
rFo> State-Changed-Why: 
rFo> This is not a PR, this is a user question, which has an anwer already.
rFo> Thanks for reporthing this, though I will be closing the ticket.

rFo> http://www.freebsd.org/cgi/query-pr.cgi?pr=129027
man top
......

       -C     Toggle CPU display mode.  By default top displays  the  weighted
              CPU  percentage  in the WCPU column (this is the same value that
              ps(1) displays as CPU).  Each time -C flag is passed it  toggles
              between  "raw  cpu"  mode  and  "weighted cpu" mode, showing the
              "CPU" or the "WCPU" column respectively.

This is not descriptive enough. After reading this I have still have
questions:
1. What is "weighted CPU  percentage"?
2. What does "ps(1) display as CPU"

.......
       (visible only on SMP systems), TIME is the number of  system  and  user
       cpu  seconds  that  the  process has used, WCPU, when displayed, is the
       weighted cpu percentage (this is the same value that ps(1) displays  as
       CPU),  CPU  is  the  raw  percentage and is the field that is sorted to
       determine the order of the processes, and COMMAND is the  name  of  the

NOTICE:
this will be better to describe one parameter per paragraph
 TIME     the number of  system  and  user cpu  seconds  that  the  process has used
 WCPU     the weighted cpu percentage (average CPU usage by process per minute)
 CPU      the  momentary/instant?  percentage of CPU usage by process
          (Default sorted by this column)
 COMMAND  .....
-- 
С уважением,
 KES                          mailto:kes-kes at yandex.ru



More information about the freebsd-bugs mailing list