Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: getting Win32 perf counters from a Unix box

by gav^ (Curate)
on Feb 16, 2002 at 01:53 UTC ( #145798=note: print w/replies, xml ) Need Help??

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.


  • 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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://145798]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2022-05-22 05:35 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (79 votes). Check out past polls.