My document management software is doing a lot of IO and I would like to know which files it is accessing the most.
Is there a Linux tool that would give me the list of the top IO consuming files, like iotop but for files, every few seconds?
That could look like:
$ thetool
THRPUT R/W/SWP FILE
40MB/s write /usr/alfresco/repo/1283421/1324928.doc
12MB/s read /usr/alfresco/cache/3928dh29f8if
11MB/s read /tmp/239398hf2f024f472.tmp
I looked in the man pages of iotop,lsof,strace and they do not seem to offer such a feature.