How can I see which applications have accessed a certain file within a given time period on Linux?
Posted
by
Nikolaidis Fotis
on Server Fault
See other posts from Server Fault
or by Nikolaidis Fotis
Published on 2012-03-20T23:50:50Z
Indexed on
2012/03/21
5:32 UTC
Read the original article
Hit count: 479
Is it possible on Linux to find out which applications have accessed a certain file in the last 24 hours?
I've come with a few possible solutions:
- Watch
lsof
. It works, but it's constrained to watch's granularity. inotify
sounds good... but no information of the application accessing the file is provided.auditd
may be useful, but I haven't checked that yet.
What ways can I see which applications have accessed a certain file within a given time period?
© Server Fault or respective owner