Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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):
Name Value
---- -----
processor_busy 133031424901
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,
Jeff
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Labels :
Name : processor_busy
PrivilegeLevel : basic
Properties : percent
Type :
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.
2 REPLIES 2
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Labels :
Name : processor_busy
PrivilegeLevel : basic
Properties : percent
Type :
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Got it. Thank you very much!
![](/skins/images/F656501F534EE6F07310F744781865A1/responsive_peak/images/icon_anonymous_message.png)