💻 Software
Can I somehow monitor what process is accessing particular file under Linux?
Fresh7 days ago
Mar 15, 20268034 viewsConfidence Score0%
0%
Problem
Trying to find out what changing the maximum possible CPU frequency when on battery power I realized that what I need is a tool that can monitor access to a particular file and log the PID of process that is making that access. It should work on virtual FS such as proc, otherwise it wouldn't be use…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Can I somehow monitor what process is accessing particular file under Linux?
Low Risk
Commands from the audit or the inotify-tools package can track file access. See my answer to a very similar question: Unix - Historically who all opened a particular file. Most answers on that question answer your question. I'd have considered this …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix