troubleshooting Question

WMI Win32_PerfFormattedData_PerfOS_Processor

Avatar of tybarton
tybarton asked on
Visual Basic.NETScripting LanguagesVB Script
3 Comments1 Solution1420 ViewsLast Modified:
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?

Thanks,
TyB
ASKER CERTIFIED SOLUTION
tybarton

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros