Home » Questions » Computers [ Ask a new question ]

View Filesystem Access in Real Time on Mac OS X

View Filesystem Access in Real Time on Mac OS X

Had a sysinternals tool (filemon) for that, but now I can find something similar for the mac.

Asked by: Guest | Views: 413
Total answers/comments: 2
Guest [Entry]

"You can use lsof or fs_usage in Terminal. lsof can be quite powerful. If it's about a specific process, you can try sampling it in Activity Monitor.

For a GUI tool, my recommendation is fseventer:

More GUI-oriented utilities, which I haven't used:

FileMon

FS Spy"
Guest [Entry]

"For viewing what files are accessed in real time you can leverage fs_usage part of the FSEvents feature in Mac OS X or even dtrace itself.

Usage: sudo fs_usage [PID].

For more info, check out the man page"