linux 根据进程ID查看运行进程的环境变量

cat /proc/$Pid/environ | tr '\0' '\n'

Guess you like

Origin blog.csdn.net/qq_36940806/article/details/134948733