In Unix do you know of a way to do continuous open-file-handle monitoring?
I know of lsof
, which has a maximum sampling rate of 1s. However, I'm looking to do the exact same thing except continuously, so that it wouldn't miss files which are open for less than 1s. Do you know of any method for accomplishing this on Unix?
I'm aware of strace and fatrace but I'm looking to accomplish this on non-Linux versions of Unix as well such as on BSD-based servers.
Thank you,
James Pedersen