Show active system processes
ps -ely
e
l
y
-l
To view the env variables a process was started with
env
cat /proc/<PID>/environ | tr '\0' '\n'