1820591 Members
1834 Online
109626 Solutions
New Discussion юеВ

Average CPU utilization

 
gandhikarthi
Occasional Advisor

Average CPU utilization

We are collecting Average CPU utilization using "UtilProvider" and we are in the process of verifying the data, We compared against sar, and average CPU utilization are different. which will be correct ? Is there any other tool we could collect CPU Utilization data for every 5 min and compare againg "Utilprovider" data...

Our cron has this entry to collect the CPU utilization.

0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/lib/sa/sa1

Thanks,
Karthik
4 REPLIES 4
Michal Kapalka (mikap)
Honored Contributor

Re: Average CPU utilization

hi,

you could use glance or graphical gpm.

mikap
Steven E. Protter
Exalted Contributor

Re: Average CPU utilization

Shalom Karthik,

Both are correct.

The sampling rate and collection methodology is different, leading to different results.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Prasanth V Aravind
Trusted Contributor

Re: Average CPU utilization

Hi Kartik,

The culprit is wio% in asr output...

if we check sar output you can see, wio% has treated as utilization.

But other perf tools will take this wio% as cpu idle. The tools taking this percentage of cpu are in wait for io , BUT they are idle.

so you will get difference of wio% in sar & UtilProvider output.

Also i had seen sar itself used to consume more cpu than any other perf tools.

Gudluck
Prasanth.
Emil Velez
Honored Contributor

Re: Average CPU utilization

if you have DCOE or Enterprise or MCOE you should have the glance plus pack which includes a measureware agent.

The measureware agent will collect over 6 months woth of data.

You could extract this data with 1 hour summries if you have masuareware on the box with the following command

extract -xp -G -b today -e today -f /tmp/global.txt

this is a text file showing the global metrics with 1 hour summaries fo rthe last day. You can change the begin time to any time you want. Metric headings are by default included.

if you are unsure if you have measureware you can execute the

# perfstat

command to see if scope is loaded.

if you do not have measureware you can load the trial which will be fully functional for 60 days and then stop. (which will give you a chance to evaluate it and it may help).