Record performance Counters.

  • Thread starter Thread starter Priya Bange
  • Start date Start date
P

Priya Bange

Guest
Hi Experts,

I found a library namely 'System.Diagnostics.PerformanceCounter' which helps to get performance counters.

Could anyone please share an example as how I can create monitoring counter using this library.

Say, I have a SQL Server table which contains the counters based on which I would like to create the performance file.

Example : Performance counter to be recorded available in SQL Table as input parameters.

Performance Counter
Processor(_Total)\%Processor Time, Processor(0)\% Processor Time, Processor(1)\% Processor Time



How can I pass it as an input to generate a performance monitoring for these counters. Please share an example.

Thanks

Priya

Continue reading...
 
Back
Top