根据端口号查看进程

根据端口号查看进程PID:

netstat -nlp | grep 端口号

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

ll /proc/进程PID/pwd

结束!

原文地址:https://www.cnblogs.com/aaronthon/p/13494522.html