Find out what processes are accessing a file

To find out what processes are accessing a file on Unix run fuser command i.e.

$ fuser -u filename