Linux应用与端口

lsof -i:port --- 得到对应端口的应用pid
PS -ef|grep pid --- 根据pid得到对应应用

原文地址:https://www.cnblogs.com/Kidezyq/p/11711678.html