ASP.NET appDomainResourceMonitoring计数器返回无数据

时间:2013-09-16 22:03:13

标签: asp.net performance iis appdomain perfmon

我已根据此博客文章配置了ASP.NET应用域资源监控:

http://www.shubho.net/2011/02/performance-monitoring-aspnet.html

除了我没有获得以下计数器的数据(通过perfmon)外,一切似乎都符合预期:

\ASP.NET Application(__Total)\% Managed Processor Time (estimated)
\ASP.NET Application(__Total)\% Managed Memory Used (estimated)

\ASP.NET Application(_LM_W3SVC_2_ROOT)\% Managed Processor Time (estimated)
\ASP.NET Application(_LM_W3SVC_2_ROOT)\% Managed Memory Used (estimated)

(它们总是显示0.0,即使\ ASP.NET Application \中的所有其他计数器都工作)。

之前有人碰到过吗?

1 个答案:

答案 0 :(得分:1)

您必须将appDomainResourceMonitoring参数不仅添加到C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config,还要添加到C:\Windows\Microsoft.NET\Framework64\v4.0.30319。它帮助了我: enter image description here