开发者

Get Total Active ASP.NET Session Count via WMI

开发者 https://www.devze.com 2023-03-13 12:08 出处:网络
How can I get a count of the total number of active ASP.NET sessions via WMI? 开发者_开发技巧I\'m using ASP.NET 4.0 on Windows Server 2008 R2.use the WMI query - \"Select SessionsActive from Win32_Per

How can I get a count of the total number of active ASP.NET sessions via WMI? 开发者_开发技巧I'm using ASP.NET 4.0 on Windows Server 2008 R2.


use the WMI query - "Select SessionsActive from Win32_PerfRawData_ASPNET_ASPNETApplications"

Edit - included link on accessing remote machines

This should answer the comment on remote machines,

http://msdn.microsoft.com/en-us/library/ms257337(v=vs.80).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消