This question already has an answer here:
- Linux file access monitoring 4 answers
strace can monitor only one single processes not all,
lsof is not a good way too, it's not a real time tool, maybe I need a real time version of
lsof? How to list all the processes which have accessed a particular file?