The way performance monitoring works is an all or nothing type of operation. When you code your application you have the option of having it collect data on various indicies which you define. Normally this functionality is split off into a seperate dll which encapsulates all mornitoring functioanlity.
For instance in SQL server this dll is SQLCTR80.DLL, in NT the main one is perfctr.dll. To tell PerfMon what dll to use you use the following registry keys. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SERVICE\Performance replacing SERVICE with your particular Service. You can disable all counters for an object by pointing towards a non existent monitoring dll, and you can disable some of the NT counters by using EXCTRLST. There were some articles on writing your own performance counter dll by Paula Tomlinson in the July 2000 issue of Windows Developer Journal. If you are interested I can dig them up for you. ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
