.net performance counter - Process(w3wp)\\% Processor Time

心不动则不痛 提交于 2019-12-05 06:19:31

If you have multiple cores it can go over 100, it's the sum of the processor usage for each processor (core, or virtual core) so over 100 is normal (100*numberOfCores is the nax).

Use the Process(w3wp_Total) version of the counter if you want the overall CPU %, this caps out at 100.

As Nick Craver already said, it is the combined value of all processors (logical or physical). To get a value between 0% and 100% simply divide it by the numbers of processors (e.g. Environment.ProcessorCount, assuming that you want to do it in .NET code).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!