I am interested in getting statistics about filesystem reads and writes, specifically to an NFS mount.
I know there are many tools such as
inotifywait but there are issues I have with each program.
I cannot use anything that would require me to walk the filesystem or explicitly mention file names due to the complexity of the hierarchy.
Is there a program that can do the following on demand?
- show reads / writes
- show path of read / write
- show byte quantity
By on demand, I mean on execution time. Point (3) is not mandatory.
For example, I would like to be able to do something like the following:
$ magicIOprogram read, 512, /path/to/file1 read, 256, /path/to/file2 write, 15, /path/to/file3 write, 10562, /path/to/file4
If there are ways to get this information using the aforementioned tools that I am unaware of, it would also be a adequate solution.