windows: perfmon /res 资源管理器

windows中使用perfmon /res打开资源管理器,查看系统的CPU、内存、磁盘等资源实时使用情况。


1.perfmon /res 资源管理器

2. run->perfmon 打开资源管理器,提示如下:

"Unable to add these counters:

\Memory\Available MBytes
\Memory\% Committed Bytes In Use
\Memory\Cache Faults/sec
\Memory\Cache Faults/sec
\PhysicalDisk(*)\%Idle Time
\PhysicalDisk(*)\Avg. Disk Queue Length
\Network Interface(*)\Bytes Total/sec"


则:Click Start, type cmd right clickcmd.exe, and selectRun as administrator.
At the prompt, type lodctr /r and press ENTER. This will repair the pointers (those are stored in the registry).


C:\Windows\system32>lodctr /r

Info: Successfully rebuilt performance counter setting from system backup store


After this action it is possible that some providers are disabled. You can check the status withlodctr /q.

C:\Windows\system32>lodctr /q
Performance Counter ID Queries [PERFLIB]:
    Base Index: 0x00000737 (1847)
    Last Counter Text ID: 0x00001560 (5472)
    Last Help Text ID: 0x00001561 (5473)

[.NET CLR Data] Performance Counters (Enabled)
    DLL Name: netfxperf.dll
    Open Procedure: OpenPerformanceData
    Collect Procedure: CollectPerformanceData
    Close Procedure: ClosePerformanceData
    First Counter ID: 0x00001080 (4224)
    Last Counter ID: 0x0000108C (4236)
    First Help ID: 0x00001081 (4225)
    Last Help ID: 0x0000108D (4237)

etc

If it says (Disabled) next to a provider, you can enable it with lodctr /e:<provider name>. Use for <provider name> the string between the [ ] at the beginning  of the entry.



  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值