Linux 查看进程文件文件位置

查看进程id

ps -ef|grep sshd

查看id对应的文件

ll /proc/1234

lsof 可以查看端口占用和进程调用文件

原文地址:https://www.cnblogs.com/yunweiweb/p/12787247.html