我需要根据内存和进程使用情况捕获windows服务的统计信息。 我试过探索Perfmon,它有捕获系统性能的选项。也许这也会有选择来监测个别过程。如何获得.net程序集内存和进程消耗的统计信息
请让我知道如何监视Windows服务。
我需要根据内存和进程使用情况捕获windows服务的统计信息。 我试过探索Perfmon,它有捕获系统性能的选项。也许这也会有选择来监测个别过程。如何获得.net程序集内存和进程消耗的统计信息
请让我知道如何监视Windows服务。
我快速拉升,这帮助了我很多,当我开始使用性能计数器的网页
您参考: http://msdn.microsoft.com/de-de/library/system.diagnostics.performancecounter.aspx
简单的例子 How can I use Performance Counters in C# to monitor 4 processes with the same name?
特别ASP.Net计数器: http://msdn.microsoft.com/en-us/library/fxk122b4(v=vs.100).aspx
当您运行介绍问题阅读这些:
Performance Counter by Process ID instead of name?
和
With Process PerformanceCounters how do I know what process an instance is associated with?
和
http://openrent.blogspot.de/2008/01/multiple-clr-performance-counters.html