windows-nt/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/wmiperf/readme.txt
2020-09-26 16:20:57 +08:00

42 lines
1.2 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Using the wmiperf Performance DLL
Overview:
The wmiperf data for the class MSFT_WmiCoreStatus as defined in
the system.mof file.
Installing:
The DLL can be built using standard build utilities and then installed on the
target system using the following steps:
1. Copy the wmiperf.DLL that was built to the %systemroot%\system32
directory.
2. load the driver entries into the registry using the following
command line: (NOTE, this will be put into self registration later on)
REGEDIT WMIPERF.REG
3. load the performance names into the registry using the command
line:
LODCTR WMIPERF.INI
At this point all the software is installed and it ready to use.
Start Perfmon and select the "WMI Counters" object to display
the data.
NOTE: The system may need to be restarted after these instructions
are completed for this object to be seen by remote computers.
To add new counters;
1) run unloadctr on wmiperf.ini
2) bump up the MAXVALUES constant
3) Add new types in genctrnm.h
4) Extend the RegDataDefinition declaration in datagen.c
5) add new defs for wmiperf.ini
6) Make sure entry is zeroed out
7) In the coredll, update the coresvc.h file to add contants and expand local array