'ps' behavoir in Linux - Was - Re: array limits
Fairlight
fairlite at fairlite.com
Fri Apr 16 11:38:36 PDT 2004
Confusious (Jay Ashworth) say:
>
> IIRC, the brackets mean that the process is swapped out, and ps can't
> therefore *get to* it's PCB to find out what arguments were given to
> it.
I can't attest to the old 'ps', but proc-ps has no such excuse, as /proc
maintains those states no matter what state the process is in. It
might be a form of denoting such a state, but you can still look at the
/proc/$PID/environ file, and the environment is readily discernable. You
can cat it, although the more sophisticated might want to run it through a
split against NULL. That's how the values are separated.
mark->
--
Bring the web-enabling power of OneGate to -your- filePro applications today!
Try the live filePro-based, OneGate-enabled demo at the following URL:
http://www2.onnik.com/~fairlite/flfssindex.html
More information about the Filepro-list
mailing list