Home All Groups Group Topic Archive Search About

Reading current connection value from performance counters into ASP page



Author
3 Mar 2006 1:15 PM
Mayhul
Hi there,

Does anyone know where I can find information about Reading current
connection value from performance counters into ASP page. I wanted to
know how I can call the current connection value in my ASP page
Thanks
Mayhul

Author
6 Mar 2006 1:45 PM
Mayhul
Dim WebPerf, n
Set WebPerf =
GetObject("winmgmts:root\cimv2:Win32_PerfRawData_W3SVC_WebService.Name='_Total'")

n = WebPerf.CurrentAnonymousUsers
Response.Write "Current number of users on this server:" & n

AddThis Social Bookmark Button