1837179 Members
2681 Online
110113 Solutions
New Discussion

sar/top vs glance

 
SOLVED
Go to solution
kevin batter_1
Occasional Advisor

sar/top vs glance

when using sar/top the cpu usage shows 100% but in glance is only around 50%

We have installed the latest patch for sar and top but problem still exsists

Any ideas gratefully received
5 REPLIES 5
U.SivaKumar_2
Honored Contributor
Solution

Re: sar/top vs glance

hi,
it is common. As the Glanceplus gives you statistical data from the time it starts
( At the time system boots )by running background daemons. But top and sar gives you the instatenous values and average of a brief interval of time it runs. So data differs.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Ruediger Noack
Valued Contributor

Re: sar/top vs glance

Hi,

the cpu usage output of sar includes wait i/o but glance doesn't. Thats why the sar output is a little bit more realistic for the first look.

Ruediger
John Carr_2
Honored Contributor

Re: sar/top vs glance

Hi

I always thought top gives you real time info. sar info since when accounting was switched on and glance very recent info updated by default every five seconds.

John.
kevin batter_1
Occasional Advisor

Re: sar/top vs glance

thanks for the replies & info

The reason that I asked this ?
was that we are getting ito alerts that cpus are running at 100% which is using sar -uM
others here are looking at glance and saying there is nothing wrong as glance says its at 50% and believing that over sar/top.

So maybe they will listen now !!
Ruediger Noack
Valued Contributor

Re: sar/top vs glance

Hi Kevin,

keep in mind following if you want to tune up your system:
Check with sar -d your disk io and relayout your disk subsystem. This should you give more convenience to your system performance.

Ruediger