fuser

来自百合仙子's Wiki
跳转到导航 跳转到搜索

示例

监听指定 TCP 端口的进程:

fuser 12345/tcp

给监听指定套接字的进程发送 SIGTERM 信号:

fuser /tmp/some.sock -sk -TERM