ps eww [pid] 查看进程启动的环境变量 However, in this case, this does not compare to the environment of the running DB2 instance which can be captured with the following two commands: (1) ps -elf | grep -i "db2sysc" | grep -i "<instance owner>" (2) ps eww <pid of db2sysc from the output of step 1>