HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

fuser — Display process IDs currently using files. More information: <https://keith.github.io/xcode-man-page

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandprocessfuserclicurrentlyusingidsdisplay
macos

Problem

How to use the fuser command: Display process IDs currently using files. More information: <https://keith.github.io/xcode-man-pages/fuser.1.html>.

Solution

fuser — Display process IDs currently using files. More information: <https://keith.github.io/xcode-man-pages/fuser.1.html>.

Show PIDs of processes accessing a file or directory:
fuser {{path/to/file_or_directory}}


Show PIDs and usernames of processes accessing a file or directory:
fuser -u {{path/to/file_or_directory}}

Code Snippets

Show PIDs of processes accessing a file or directory

fuser {{path/to/file_or_directory}}

Show PIDs and usernames of processes accessing a file or directory

fuser -u {{path/to/file_or_directory}}

Context

tldr-pages: osx/fuser

Revisions (0)

No revisions yet.