René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

Using ps to show a process' environment

At least on solaris, it is possible to show the environment variables of another process with the ps command. This might come handy if one want to find passwords stored in environment variables in scripts. The command goes like:
/usr/ucb/ps -auxwwee | grep PASS_VAR