Bug 51464 - sar does give a wrong % for CPU time (1024%)
sar does give a wrong % for CPU time (1024%)
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: sysstat (Show other bugs)
7.1
alpha Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-08-10 13:34 EDT by Need Real Name
Modified: 2007-04-18 12:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-08-10 13:34: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 Need Real Name 2001-08-10 13:34:27 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i686)

Description of problem:
sar does give wrong results on Alpha, it seem to assume that
HZ is 100 for all architectures (tru for Intel, but Alpha is 1024). I guess
sar uses the C function times().

How reproducible:
Always

Steps to Reproduce:
1. sar -u 1	

Actual Results:  dilbert:~> sar -u 1
Linux 2.4.3-12smp (dilbert)     08/10/2001
 
01:39:13 PM       CPU     %user     %nice   %system     %idle
01:39:14 PM       all      2.00      0.00     18.00    1004.00
Average:          all      2.00      0.00     18.00    1004.00

Expected Results:  Total time being at a total of 100% (maybe 200% for dual
processor, but not 1024%)...


Additional info:
Comment 1 Preston Brown 2001-08-13 15:50:08 EDT
fixed in rawhide, and the next release.

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