Performance Monitor

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

  1. Mayhul

    Mayhul Guest

    Hi there,

    Does anyone know how to display the current connection value on a ASP
    page. Wanted to know how to read this value into ASP page as opposed to
    going to performance monitor

    Thanks
    Mayhul
    Mayhul, Mar 3, 2006
    #1
    1. Advertising

  2. Mayhul

    Mayhul Guest

    I found the answer if anyone wanted to know

    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

    Answer from http://www.motobit.com/tips/detpg_wmi-iis-performance/
    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. Replies:
    0
    Views:
    357
  2. Zester
    Replies:
    1
    Views:
    720
    John Timney \(MVP\)
    Oct 17, 2007
  3. ScottZ
    Replies:
    2
    Views:
    355
    Jorgen Grahn
    Nov 2, 2008
  4. Sunil Menon

    Monitor WebService performance

    Sunil Menon, Jan 2, 2004, in forum: ASP .Net Web Services
    Replies:
    3
    Views:
    123
    ricko70
    Jan 7, 2004
  5. dw
    Replies:
    1
    Views:
    131
    Mark Schupp
    Sep 16, 2004
Loading...

Share This Page