1. 5
    1. 2

      I also have something like that:

      https://github.com/jacereda/fsatrace

      And also started a FUSE filesystem but the above tool was enough for my needs and lost interest:

      https://github.com/jacereda/traced-fs

    2. 2

      Thanks for posting this!

    3. 2

      For those on Macs (or any other system with DTrace available) you can use the filebyproc.d that originates from the DTrace Toolkit. It’s comes included by default in macOS but is also available here: https://github.com/opendtrace/toolkit/blob/master/Proc/filebyproc.d.