I want to be able to take a process on a Linux machine and log every file that it opens, reads, or writes during a certain time window.
For example, let's say that I suspect that Apache is using an incorrect file for some reason. How could I run the request that triggers the file open/read and then get a list of every file that was opened by the Apache process in order to debug it?