How to reset Performance objects in perfmon?

99封情书 提交于 2019-12-01 16:53:57

问题


When I launch perfmon and try to add a counter, the displayed performance objects are all numbers. How can I reset these Performance objects?


回答1:


I found a way to solve the problem:

  • copy C:\WINDOWS\system32\PerfStringBackup.INI from a PC where perfmon works correctly
  • cd C:\WINDOWS\system32
  • lodctr /R:PerfStringBackup.INI



回答2:


What do you mean my "reset"? What's the behavior you're expecting?

The perfmon "System Monitor" view shows the (near) real time value of the counter. Since these measurements are always being taken there will (almost) always be a number there.

If you want to be able to control the collection of these measurements, you need to create a Counter Log. Additionally, you can use the logman command to manage the log from the command line or a script.



来源:https://stackoverflow.com/questions/242626/how-to-reset-performance-objects-in-perfmon

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