首页 | 免费域名 | 个人服务器 | 一流信息监控拦截系统 | 虚拟主机知识库 | ASP 空间 | ASP技术大全 | 下载中心 | 客户服务中心
  7i24 > 虚拟主机知识库 > 疑难杂征 >
    7i24 .Com  
  我们计数器显示为-1,如何重建系统的性能计数?

7i24.Com不停为您服务
How can I rebuild performance counter library information?

If System Monitor has missing counters, or counters without data, your performance counter libraries may be corrupted or some WMI (Windows Management Instrumentation) program may have corrupted some extensible counter information in the registry.

To resolve the problem, you need to rebuild the base set of counter libraries and rebuild the extensible counters.

Extensible counter information is store in the registry at the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Perflib\009 key and in the %Systemroot%\System32\Perfc009.dat and %Systemroot%\System32\Perfh009.dat files.

To rebuilds the base performance counter libraries:

1. Mount the Windows 2000 CD-ROM in your CD drive.

2. Open a CMD prompt and type:

    Expand <CD-ROM Drive Letter>:\I386\PERFC009.DA_ %SystemRoot%\System32\PERFC009.DAT
    Expand <CD-ROM Drive Letter>:\I386\PERFH009.DA_ %SystemRoot%\System32\PERFH009.DAT

3. Use Regedt32 to navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVerison\Perflib.

4. Double-click the Last Counter value name and set the data value to 1846, using the Decimal Radix.

5. Double-click the Last Help value name and set the data value to 1847, using the Decimal Radix.

6. Run Exctrlst.exe to get a list of services that have a Performance sub-key.

7. Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\<ServiceName>\Performance and delete the First Counter, First Help, Last Counter, and Last Help value names, if they exist.

8. Open a CMD prompt and type:

    CD %SystemRoot%\System32
    findstr drivername *.ini

    This will display information similar to:

    axperf.ini:drivername=ASP
    esentprf.ini:drivername=ESENT
    faxperf.ini:drivername=fax
     . . . . .
    rasctrs.ini:drivername=RemoteAccess
    rsvp.ini:drivername=RSVP
    w3ctrs.ini:drivername=W3SVC

9. For each .ini file returned, type:

    lodctr <DriverName>

    where <DriverName> was returned from step 8. Example: lodctr asp

    例如重建ASP的性能计数:lodctr asp



  2004年3月1日  阅读 787 次  发送此页给朋友  来源:    版权争议  删除

相关文章:   近期热点:

上一篇: 错误:无法创建应用程序池的磁盘缓存子目录
下一篇:
返回上一层...
搜索:

(C)2001-2005 7i24.Com 保留所有权利