查看进程的环境变量

ps -aux|grep 服务名

拿到pid

cat /proc/pid/environ|tr '\0' '\n'

 

posted @ 2022-12-26 16:51  阿U-root  阅读(49)  评论(0)    收藏  举报