Red Hat Bugzilla – Bug 51464
sar does give a wrong % for CPU time (1024%)
Last modified: 2007-04-18 12:35:44 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().
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%)...
fixed in rawhide, and the next release.