Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

simX

macrumors 6502a
Original poster
May 28, 2002
766
4
Bay Area, CA
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.
 
Re: Monitoring opened files

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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.