7/11 Does anyone know a way to find out all the environment variables for
a running process aside from ps? I'm doing this on AIX, and while
ps eww <pid> gives some of the environment vars, it seems to stop at
2000 characters or so.
\_ have you tried ps ewww? That works in some flavors of Unix.
\- agree with ps -e. otherwise, on AssOS, /proc/<pid>/environ ...
which I believe is a NULL delimited list (so some unix tools/
functions may have issue operating on it, unless you map the NULs
to something else). Not portable. i dont know anything about AIX
any more. --psb
\_ Lucky. AIX is crap. -op.
\- that, i knew :-) [although GPFS is really neat]. |