Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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.

gav^


Comment on Re: getting Win32 perf counters from a Unix box
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-08-30 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls