Avatar of tybarton
 asked on

WMI Win32_PerfFormattedData_PerfOS_Processor

I have a service running to monitor various server items. One is the CPU which I am using a call to Win32_PerfFormattedData_PerfOS_Processor which I am pulling the property PercentProcessorTime.

I am checking two servers. On the first one when I look in Task manager at the performance tab I see 17 graphs. The first is a overall total cpu usage then one for each core. When I run my code I get 17 return values.

I am going to be graphing these values and the issue I have is determining which return value represents the first graph which is the average cpu usage. Is it the first value or the last?

Visual Basic.NETVB ScriptScripting Languages

Avatar of undefined
Last Comment

8/22/2022 - Mon
Nasir Razzaq


Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Found a property of the class that gave me the information I was looking for.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck