On 14 Mar 13:18, Richard Lewis wrote:
Hi ALUG,
Is it possible to query the environment variables being used by a specific process; from the outside?
Specifically, I want to know if a running Apache has a particular environment variable set.
sudo cat /proc/<pid>/environ | tr '\0' '\n'
Should do what you want.