Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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
Node Status?
node history
Node Type: note [id://145798]
[choroba]: Lanzarote is great!
choroba went there year ago
[Discipulus]: here spring has sprung, so the warm is available without holidays..
[Discipulus]: Oh I got a (small but better than nothing) salary increase!! beer for all!
[cavac]: Not sure if it's only my connection, but seems rather slow to respond today.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-02-22 08:51 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (325 votes). Check out past polls.