先查询端口找到进程
netstat -anlpt | grep 16443 | grep -v grep
tcp 0 0 0.0.0.0:16443 0.0.0.0:* LISTEN 3710563/nginx: mast
tcp 0 0 192.168.110.253:16443 192.168.110.22:64430 ESTABLISHED 3710580/nginx: work
1,top查看
top -p 3710563
然后按小写c
cd /proc/3710563/
ls -lh
然后
ps -ef | grep l4lb
3, pwdx 进程pid
pwdx 3710563