根据端口号查看进程

根据端口号查看进程PID:

netstat -nlp | grep 端口号
lsof -i :端口号

根据进程PID查对应的程序路径:

ll /proc/进程PID/pwd

结束!

posted @ 2020-08-13 09:23  aaronthon  阅读(1031)  评论(0)    收藏  举报