2011-03-28 07:29 AM
Maybe someone can help answer this question - when I run this command in powershell:
Get-NaPerfData processor | select -expandproperty counters
I get this value (among others):
What is the math involved here? I don't understand that number. I know the processor busy is around 2-3% - what does that value above represent?
Thanks a lot,
Solved! See The Solution
2 REPLIES 2
2011-03-28 08:07 AM
Hi, Jeff. Some perf counter values require companion base counter values and must be averaged over two successive readings.
PS C:\> Get-NaPerfCounter processor
BaseCounter : processor_elapsed_time
Desc : Percentage of elapsed time that the processor is executing non-idle processes
Name : processor_busy
PrivilegeLevel : basic
Properties : percent
Unit : percent
So to get the processor busy percentage, get the values twice with an interval of a few seconds in between. Then do:
CPU % = (value_t2 - value_t1) / (base_t2 - base_t1) * 100
See 'Get-Help Get-NaPerfObject' for more details on working with the Data ONTAP performance APIs.