performancecounter question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dirk Reske

    #1

    performancecounter question

    Hello,

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

    thx


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: performancecoun ter question

    Dirk,

    You should be able to use the static GetCategories method on the
    PerformanceCoun terCategory 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.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Dirk Reske" <_Freak-2k@gmx.net> wrote in message
    news:ejCdy0wkDH A.3504@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Hello,
    >
    > how can I print out all performance counters ant their values out?
    >
    > thx
    >
    >[/color]


    Comment

    Working...