in reply to Re^2: Working With The Process Table (AIX)
in thread Working With The Process Table (AIX)

Hi,

because of the struct P::PT uses in current available release, you're pointed to Proc::ProcessTable core dumps on AIX in 64 bit environment in http://www.perlmonks.org/?node_id=918764.

I created that patch some time ago and implemented a full process statistic grabbing for eg. AIX for libstatgrab (download the snapshot from http://www.netbsd.org/~sno/smart-snmpd/).

I tend to update P::PT using the techniques from libstatgrab (Dan Urist grants maintainer permissions to me) and testers would be welcome. But you should be willing to compile that module (you can start compiling current P::PT with above mentioned patch and libstatgrab for testing).

Best regards, Jens

  • Comment on Re^3: Working With The Process Table (AIX)

Replies are listed 'Best First'.
Re^4: Working With The Process Table (AIX)
by Limbic~Region (Chancellor) on Aug 09, 2011 at 13:01 UTC
    rehsack,
    As I indicated elsewhere in this thread, that patch didn't work for me. I would be willing to work with you offline to try and resolve the issue (I was able to get it to compile myself after basically rewriting the guts to use getprocs64). I have been in touch with the author of the AIX nmon utility and have been informed that yes, to do what I want - requires reading kernel memory with escalated permissions. I will message you my email for further correspondence.

    Cheers - L~R