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

zentara,
but googling for "Aix proc filesystem" shows it exists

I referenced AIX's /proc file system in my original post. Not all /proc filesystems are created equal. AIX does not support the cmdline file. In fact, the only useful information I have found is in psinfo (described above) which has a partial command line argument.

Cheers - L~R

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

Replies are listed 'Best First'.
Re^3: Working With The Process Table (AIX)
by zentara (Cardinal) on Aug 06, 2011 at 14:10 UTC
    <meditation mode>

    There is no lsof .... minimal proc filesystem

    It seems you have been given a task, which the AIX operating system has been designed to prevent. What the rational behind their OS design? Security of processes? It seems they require you to know the pid, and only the launcher of the process will know it.


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh
      zentara,
      It is a local policy regarding lsof. AIX does ship with a very useful tool to interact with the process table - ps. I would rather not parse the output of ps but it may come to that. Early next week, I will be speaking with an internal IBM developer on how this information can be obtained (even if it means requiring setgrpid to read kernel memory) and weigh the cost of rolling my own or just parsing ps.

      Cheers - L~R