Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some FileMaker databases being served for dev purposes and I keep bumping into occurrences where the database/file is locked and I can't make changes to it.

How can I determine what application is touching/using this file so I can kill it?

share|improve this question

Have you tried using the terminal command

$ lsof 'Filename'

For a more detailed look at the file use

$ lsof | grep -f 'Filename'

Should give you the command that is using it and also the PID of that file

share|improve this answer
The file is named Data.fmp12, so when I cd into that directory and run lsof 'Data.fmp12', the terminal pauses a moment and then just displays another blank command prompt – SWL Oct 12 '12 at 16:25

Try adding sudo. I set up a similar setup with the same file name, it would only appear if the file was open somewhere in a application. It didn't show up until I added the sudo tough.

sudo lsof | grep /path/to/file/Data.fmp12
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.