Reading performance counter data in .NET

Nothing you can’t easily write yourself, but while playing around, I wrote this one myself, and learned one or two things. Firsltry, it demonstrates the wrinkle that when reading % processor time you need to specify the instance name of the processor, or the special instance name “_Total”. Secondly you’ll notice that the % CPU…

0