Monitoring opened files

Discussion in 'General Mac Discussion' started by simX, Aug 12, 2003.

  1. macrumors 6502a

    simX

    Joined:
    May 28, 2002
    Location:
    Bay Area, CA
    #1
    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.
     
  2. macrumors 68020

    daveL

    Joined:
    Jun 18, 2003
    Location:
    Montana
    #2
    Re: Monitoring opened files

    How about 'lsof' in repeat mode?
     

Share This Page