Reading current connection value from performance counters into ASP page

Discussion in 'ASP General' started by Mayhul, Mar 3, 2006.

  1. Mayhul

    Mayhul Guest

    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
     
    Mayhul, Mar 3, 2006
    #1
    1. Advertising

  2. Mayhul

    Mayhul Guest

    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
     
    Mayhul, Mar 6, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Carr
    Replies:
    0
    Views:
    593
    Michael Carr
    Jan 9, 2004
  2. Michael Carr
    Replies:
    4
    Views:
    2,580
    John Soulis [MSFT]
    Jan 12, 2004
  3. Brian Newtz
    Replies:
    0
    Views:
    584
    Brian Newtz
    Dec 13, 2004
  4. James
    Replies:
    7
    Views:
    5,954
    Steven Cheng[MSFT]
    May 6, 2005
  5. JackC
    Replies:
    0
    Views:
    352
    JackC
    Jun 14, 2007
Loading...

Share This Page