PDA

View Full Version : Win32 Performance Counter Assistance


axsdenied
16-12-2004, 03:13
Need some assistance with the perf_counter key. I've read through the faq, however it's syntax and the sytanx listed on the supported keys page is different and I can't seem to get it.

For example I wanted to monitor \Memory\Pages/sec

Anyone know what the key syntax would be?

axsdenied
16-12-2004, 20:13
Ok I've used the following syntax for the key:

perf_counter[\Memory\Pages/sec]

And It seems to stay monitored, with no errors in the event log. However it doesn't appear to be gathering data. Collection interval set to 2 secs. Any ideas?

axsdenied
16-12-2004, 20:53
Hey there again.

Figured out what I was doing wrong. I didn't realize, for whatever reason, that I could define these counters in the conf file for the agent, then reference their assigned key. After doing so I was able to collect the additional stats I wanted =)