logging for hotfiles.

Sundar Nagarajan sundar.personal at gmail.com
Thu Feb 25 20:28:00 UTC 2010

Steve Flynn wrote:
> On Sat, Feb 20, 2010 at 5:35 AM, MirJafar Ali <mirjafarali at gmail.com> wrote:
>> hello,
>> I am interesting in collecting data for file system analysis. I use Ubuntu
>> and it has ext3 file system. Does filesystem keep
>> track of how many times simple file operations were performed ( along with
>> the timestamp ) i.e. open, read and write ?

inotify can do this. See http://en.wikipedia.org/wiki/Inotify.
inotify has python bindings (pyinotify, inotify-tools) and perl 
(Linux::inotify) apart from a C-interface.

Another interesting article on inotify is 

Sundar Nagarajan
Linux User #170123 | Ubuntu User #2805

More information about the ubuntu-users mailing list