---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`
