You seem to be trying several approaches - what's your real question?
thread80-559716
> last_access_process for that file ?
You could modify your OS to store the PID (assuming you have linux)
But process IDs are re-used, so they are not unique in the long run.
You could match that up with the accounting information, but the owner of the program may have deleted / changed the program.
If you can't store the PID, the best you can do is 'guess' which program (of those active at the last access time of the file) was responsible for the access. You need a good accounting log to record the start/stop times of each process.
Bear in mind that something like a backup could be started many hours before it actually gets around to touching your file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.