13 lines
339 B
Markdown
13 lines
339 B
Markdown
|
|
# 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}}`
|