Bug 5092 - top gives incorrect %CPU information on SMP machines
top gives incorrect %CPU information on SMP machines
Status: CLOSED CURRENTRELEASE
Product: Red Hat Raw Hide
Classification: Retired
Component: procps (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-09-12 14:59 EDT by Jeremy Katz
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-10-04 17:38:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeremy Katz 1999-09-12 14:59:10 EDT
With procps-2.0.3-1 as included in Lorax 6.0.55, top's
behavior has changed such that %CPU gives the share of CPU
time of one processor since the last screen updated.

From man top(1)
%CPU The task's share of the CPU time since the last
screen update, expressed as a percentage of total CPU time.

I believe that this is caused by the change in determination
of HZ in proc/sysinfo.c
Comment 1 Jeff Johnson 1999-09-12 18:42:59 EDT
This should be fixed in the Raw Hide procps-2.0.3-1. Please reopen
this bug if not.
Comment 2 Jeff Johnson 1999-09-12 18:44:59 EDT
Whoops, this is still a problem in procps-2.0.3-1.
Comment 3 Michael K. Johnson 1999-09-19 20:44:59 EDT
The bug is in the man page.  People report this as a bug whichever
way it works...
Comment 4 Jeremy Katz 1999-10-02 22:20:59 EDT
The man page describes the behavior exhibited by top in
procps-2.0.4-2.  As far as I'm concerned, this bug can be closed.
Comment 5 Michael K. Johnson 1999-10-04 17:38:59 EDT
Thanks!

Note You need to log in before you can comment on or make changes to this bug.