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

Look, if you choose to ignore the fact that AIX doesn't provide this information, feel free to carry on but you're pissing in the ocean.

Of course Jens has some nice insight but it's not because AIX is helping you out. As I said, this is not a Perl question ... because it's about low level AIX kernel structures ... maybe IBM would know?

  • 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:14 UTC
    Anonymous Monk,
    I am not ignoring the "fact", I am stating that the source you indicate provides this "fact" actually says no such thing. You seem to be inferring something not actually said in the README.aix. You are correct in that it is not directly a perl question though I am writing a perl library and would like access to this information. I have just received an email from the IBM author of the nmon() utility and have decided on a combination of
    • getprocs64()
    • /proc/<pid>/psinfo and /proc/<pid>/cwd
    • ps <options> <pid>
    Depending on what information the user actually wants.

    Cheers - L~R

      This is something I've been looking for a nicer way to do, having been burned more than once by the ps -ef|grep name|grep -v grep method. Thanks for sharing all this! I'm familiar with /proc (somewhat) and ps; how are you using getprocs64()?