fuser
Display process IDs currently using files or sockets. More information: https://manned.org/fuser.
- Find which processes are accessing a file or directory:
fuser
- Show more fields (
USER,PID,ACCESS, andCOMMAND):
fuser
- Identify processes using a TCP socket:
fuser /tcp
- Kill all processes accessing a file or directory (sends the
SIGKILLsignal):
fuser
- Find which processes are accessing the filesystem containing a specific file or directory:
fuser
- Kill all processes with a TCP connection on a specific port:
fuser /tcp
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
