Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Proc::ProcessTable truncating cmndline and fname

by rgren925 (Beadle)
on Feb 12, 2016 at 04:37 UTC ( [id://1155036]=note: print w/replies, xml ) Need Help??


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.

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1155036]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-28 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found