tags:

views:

15

answers:

2

Is it possible to monitor file read activity of processes under Mac OS X? (programmatically, or do you know any applications that does this? That can also be helpful.)

A: 

Get a file descriptor to your file with open, then use stat to get its last access time.

That method works on any POSIX compliant platform.

mouviciel
A: 

You could look at the source for fs_usage in Darwin.

Paul R