Fuser
lastmod 2026-02-04created 2026-02-046 edits
Find the processes using a specific file/port
Simple Usage
# 이 파일을 사용 중인 PID 확인 / Which PIDs use this file
fuser /var/log/syslog
# 이 포트를 사용 중인 프로세스 / Which process uses this port
fuser 8080/tcp
See also
- lsof
- strace
- inotifywait - Watch a specific file/directory
- bpftrace/bcc - Minimal overhead, suitable for production environments
- auditd - System-level audit logs (can be configured persistently)