I have a unix process running. I'd like to find out the value of some environment variables which were set at the process starting time. I don't know whether it's possible or not.
I think it depends on the flavour of unix you are using but on Solaris something like /usr/ucb/ps -euxwww| more will show processes with their associated environment
I think its the use of the w flag more than once thats the key. So just make sure the other flags are valid and you should be ok. FYI all the w flag does is allow arbitrary width output for the process.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.