http://qs1969.pair.com?node_id=1155036


in reply to Re: Proc::ProcessTable truncating cmndline and fname
in thread Proc::ProcessTable truncating cmndline and fname

Good call on Solaris. ps(1) truncates exactly the same way.
So, how does "/usr/ucb/ps auxww" get the full command line if not from the kernel?

Not the same for HP-UX. though.
ps(1) returns far more than Proc::ProcessTable.
I'm wondering if there is a way to configure this so I get back at least what ps gives me.

  • Comment on Re^2: Proc::ProcessTable truncating cmndline and fname

Replies are listed 'Best First'.
Re^3: Proc::ProcessTable truncating cmndline and fname
by jcb (Parson) on Feb 13, 2016 at 03:49 UTC

    In both cases, more information is available, but Proc::ProcessTable does not know how to retrieve it.

    You will need to find where ps(1) gets its information and then submit patches for Proc::ProcessTable. A good first place to look is /proc/<PID>. There may be additional files in there with useful information; this is certainly the case on Linux. Unfortunately, I don't have Solaris or HP-UX close at hand, so I can really only speculate on what you will need.