lsof

查看进程打开的文件

lsof -p 进程号口号

查看指定监听端口的程序名称

lsof -i :端口号

原文地址:https://www.cnblogs.com/ruiy/p/3997436.html