http://qs321.pair.com?node_id=145805


in reply to Re: getting Win32 perf counters from a Unix box
in thread getting Win32 perf counters from a Unix box

That is correct sir, well roughly.
  • Many performance counters are exposed in the registry INSERT(HKEY_DYN_DATA\PerfStats)
  • Win32 is too general, NT and 9x differ greatly in their counters. For an example try running this (one of my favorite apps) on different Win32 platforms.
  • I can speak most authoritatively about NT, as I used this chez my former employer. There is a (nonstandard on 4.0 IIRC) Microsoft dll (perf something or other) that provides the basic hooks for this. It was required for both VB and Java apps that accessed the performance data.
  • --
    perl -pe "s/\b;([st])/'\1/mg"