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?