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


in reply to getting Win32 perf counters from a Unix box

I'm assuming the won't work as they are probably just wrappers over Win32 API calls. My best suggestion would be to create a server (SOAP?) on the Win32 box that you can talk to from your linux box to get the info you need.

gav^

  • Comment on Re: getting Win32 perf counters from a Unix box

Replies are listed 'Best First'.
Re: Re: getting Win32 perf counters from a Unix box
by belg4mit (Prior) on Feb 16, 2002 at 03:37 UTC
    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"

(jptxs) Re: getting Win32 perf counters from a Unix box
by jptxs (Curate) on Feb 17, 2002 at 04:44 UTC
    that would work, except that I have to be able to pull the counters without touching the configuration of the server. I just don't think it can be done by any out of the box or off the internet solution right now. I'll be sure to update thread if I break it down...

    We speak the way we breathe. --Fugazi