vb.net - performance counter raw data

G

Guest

I have a question on how the performance counter instance returns values.

I have an app that uses the performance counter for
Category name = "Web Service"
Counter name = "Current Connections"
Instance name = "_Total"

That works great / however when I use the following counter it returns some
incorrect data.
Category Name = "Web Service"
Counter Name = "Connection Attempts / sec"
Instance name = "_Total"

I can verifiy this from using the actual performance counter, on the
machine. It appears that it is returning the actual SUM (total) of all
connection attempts.

Has anyone see this before? I am returning the info via
perfcounter.rawvalue.tostring

Thanks
 

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

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top