Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I'm not aware of any tools/modules for accessing Win32 performance data from a *nix machine, but then I wouldn't be:)

However, if such a tools exists, it might be available as a part of the WINE project. I did take a quick peruse, but the search options don't seem to work for me... maybe it didn't like my browser?

The Win32 PerfMon.exe can (with appropriate permissions) connect and display performance data gathered from other Win32 machines, so at least there is a remote access protocol available that could be (theoretically) connected to. This relies upon MS authentication and transport protocols (RAS/WMI). Whether WINE has succeeded in emulating these I don't know.

If you decide that you need to go the route of writing your own server, then I'd recommend Win32::Process::Info as a starting point. It provides access to the same information as Win32::PerfMon, but the interface is considerably easier to use, as the author has abstracted the (horrible!) native apis in a perl freindly manner taking care of a huge amount of nasty detail that you would have to do yourself using PerfMon.

If you have to go this route and would like a hand...

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
If I understand your problem, I can solve it! Of course, the same can be said for you.

In reply to Re: Access Win "performance counter" from unix? by BrowserUk
in thread Access Win "performance counter" from unix? by sauoq

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others pondering the Monastery: (4)
    As of 2018-06-18 06:09 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (108 votes). Check out past polls.