C# PerformanceMonitor only reports 0/100% with random, nonexistent spikes
问题 I'm trying to make a sort of task manager -esque program using PerformanceMonitor and a chart. The CPU usage value is thrown onto a label and the chart, obviously, graphs it all out. Problem is PerformanceMonitor only reports the CPU being at nothing or full, but the graph shows lots of little spikes in between, usually not matching the Windows Task Manager graph output. I need to know how I can get PerformanceMonitor , or a similar C# product, to output viable, consistent, and accurate