Skip to content

Fuser

특정 파일/포트를 사용 중인 프로세스 찾기

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 - 특정 파일/디렉토리 감시
  • bpftrace/bcc - 오버헤드 최소, 프로덕션 환경 적합
  • auditd - 시스템 레벨 감사 로그 (영구 설정 가능)