PDA

View Full Version : Monitoring opened files


simX
Aug 12, 2003, 02:11 PM
What's the best way to monitor what files are opened and closed by any application/process on the system? I know that the UNIX command "fstat" used in the Terminal will take a snapshot of what files are open, but it doesn't keep a running list, so it's not very helpful. Does anybody have any other possible solutions?

Any suggestions would be great.

daveL
Aug 12, 2003, 03:15 PM
Originally posted by simX
What's the best way to monitor what files are opened and closed by any application/process on the system? I know that the UNIX command "fstat" used in the Terminal will take a snapshot of what files are open, but it doesn't keep a running list, so it's not very helpful. Does anybody have any other possible solutions?

Any suggestions would be great.
How about 'lsof' in repeat mode?