Showing results for 
Search instead for 
Did you mean: 

sar output in linux

Go to solution
Rommel T. Misa_2
Frequent Advisor

sar output in linux


I am using an rx2660 with RHEL AS 4 update 4 as the OS. When I issue the sar command I get the output as seen in the attached file. Has anyone encountered this sort of sar output? What did you do to solve it?

Hope you could help.

Hein van den Heuvel
Honored Contributor

Re: sar output in linux

Looks like a bug. I'm sure you are not the only one to see this. Google? Check with redhat ?!

For immediate relieev you could post-process for example with perl

#sar -u 3 3 | perl -pe 'if (/\s([0-9.]+)$/) { $procent=sprintf("%6.2f",$1/10.24) ; s/$1$/$procent/}'

Good luck,

Mike Stroyan
Honored Contributor

Re: sar output in linux

That looks like a very old copy of sar.
The sar that is delivered with RHEL AS 4 update 4 comes from the sysstat-5.0.5-11.rhel4 package. The "CHANGES" file from the source of that package notes that there was a fix for this problem in "2003/08/20: Version 4.1.6".
That fixed an assumption that clock ticks were always occuring at a rate of 100 per second. The ia64 RHEL 4 kernels actually have 1024 clock ticks per second.
Jarle Bjorgeengen
Trusted Contributor

Re: sar output in linux

To me this looks like the output of top(1) .

Strange ....