Hilary; I believe WMI still gives you raw counter values only. But I'd be very happy to be proven wrong! For now, I'm scripting around typeperf.exe. Not pretty!
Linchi > -----Original Message----- > From: Hilary Cotter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 02, 2002 10:34 AM > To: NT 2000 Discussions > Subject: RE: Performance Logs and Alerts > > > Have you looked at WMI for this? I think it provides a more granular > approach to monitoring, and you might be able to get a stream > of data back > on a particular counter in a more managable format. > > BTW have you seen this > http://support.microsoft.com/default.aspx?scid=kb;EN-US;q266416 > > You can also set WbemAdapStatus to 0 for a particular counter and then > re-enable it at intervals, and check the commands > winmgmt /clearadap to clear the log > > and > > winmgmt /resyncperf -p XXX (Where XXX is the PID of the WIM > process) to > resync everything > > I think this will do what you are trying to do. The problem > is on NT 4.0 > boxes you will have to install WBEM. > > > > ------ > You are subscribed as [EMAIL PROTECTED] > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe send a blank email to [EMAIL PROTECTED] > ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
