performancecounter question

  • Thread starter Thread starter Dirk Reske
  • Start date Start date
D

Dirk Reske

Hello,

how can I print out all performance counters ant their values out?

thx
 
Dirk,

You should be able to use the static GetCategories method on the
PerformanceCounterCategory class. This should give you all the performance
counter categories on the computer. Once you have that, you can get all the
counters that are in a category, and then get all the values for those
counters.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top