windows-nt/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/wmiperf
2020-09-26 16:20:57 +08:00
..
datagen.c Add source files 2020-09-26 16:20:57 +08:00
datagen.h Add source files 2020-09-26 16:20:57 +08:00
genctrnm.h Add source files 2020-09-26 16:20:57 +08:00
genctrs.h Add source files 2020-09-26 16:20:57 +08:00
genctrs.mc Add source files 2020-09-26 16:20:57 +08:00
makefile Add source files 2020-09-26 16:20:57 +08:00
perfgen.c Add source files 2020-09-26 16:20:57 +08:00
perfgen.rc Add source files 2020-09-26 16:20:57 +08:00
perfmsg.h Add source files 2020-09-26 16:20:57 +08:00
perfutil.c Add source files 2020-09-26 16:20:57 +08:00
perfutil.h Add source files 2020-09-26 16:20:57 +08:00
readme.txt Add source files 2020-09-26 16:20:57 +08:00
sources Add source files 2020-09-26 16:20:57 +08:00
wmiperf.ini Add source files 2020-09-26 16:20:57 +08:00
wmiperf.src Add source files 2020-09-26 16:20:57 +08:00

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