Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Proc::ProcessTable method questions

by converter (Priest)
on Nov 07, 2002 at 07:51 UTC ( #211015=note: print w/replies, xml ) Need Help??

in reply to Proc::ProcessTable method questions

It's difficult to answer your query without looking at your code. Maybe you're making an invalid assumption and truncating the command line string without realizing it.

If you want to see how the process data are gathered look at the C source and headers in the /os directory of the source tree (Proc-ProcessTable-0.35/os/). On linux the process data are gathered from the /proc filesystem, which is the same method used by the ps util. On other OSs where the /proc filesystem isn't supported there are different methods for gathering process data, but all of the methods used should probably return the complete command line string.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211015]
[karlgoethebier]: Cojones! We need cojones!
[karlgoethebier]: Ouch! Permissions! We need permissions!
[BarApp]: I can not use modules. I gain temporary access and still can not use modules.
[Cosmic37]: ta erix - this szabo geezer is pretty cool methinks and he writes about undef but I cannot see instructions for redefining the record separator after having undefined it
[Corion]: $/ = "wahtever";
[Corion]: (it's a magic variable)
[karlgoethebier]: BarApp: whoami
[Cosmic37]: ok fankyou - I was wondering about that but thought there might be a redefine command or something; peachy

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-06-29 16:45 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (672 votes). Check out past polls.