ASP.NET 实时活动监视器
我的服务器代码中有很多 HTTPHandler。
如何在 Live 中监控 Web 服务器的性能?
我需要下一个统计数据:
1. 每秒请求数(每个处理程序或摘要)
2. CPU 使用率
提前致谢
I have a lot of HTTPHandlers in my server code.
How can I monitor performance of my web server in Live?
I need the next statistics:
1. Requests per second (of each handler or summary)
2. CPU-usage
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请尝试这些链接和这些代码行,这肯定会对您有所帮助。
http://www.codeproject.com/KB/dotnet/perfcounter.aspx
http://www.aspheute.com/english/20000809.asp
http://www.csharphelp.com/2006/05/performance-monitoring/< /a>
您可以使用 PerformanceCounter 来自 System.Diagnostics 的类:
这些全部事情会解决你的问题。
Please try these links and these line of code this will surely help you.
http://www.codeproject.com/KB/dotnet/perfcounter.aspx
http://www.aspheute.com/english/20000809.asp
http://www.csharphelp.com/2006/05/performance-monitoring/
You can use the PerformanceCounter class from System.Diagnostics:
These all things will solve your problem.