Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Reading current connection value from performance counters into ASP page (http://www.velocityreviews.com/forums/t800812-reading-current-connection-value-from-performance-counters-into-asp-page.html)

Mayhul 03-03-2006 01:15 PM

Reading current connection value from performance counters into ASP page
 
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 03-06-2006 01:45 PM

Re: Reading current connection value from performance counters into ASP page
 
Dim WebPerf, n
Set WebPerf =
GetObject("winmgmts:root\cimv2:Win32_PerfRawData_W 3SVC_WebService.Name='_Total'")

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



All times are GMT. The time now is 11:32 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57