linux 日常命令 lsof

来源:互联网 发布:java邮件发送过多 编辑:程序博客网 时间:2024/05/13 22:30

查看打开文件的进程

lsof filename

查看进程打开的文件

lsof -p pid

查看占用特定端口的进程

lsof -i:port
0 0