Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.2 KiB

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