I'm sure that I set something up long ago to play the submarine alert sound, but I can't figure out what it is. It plays a few times a day, but I have no way of knowing what app is doing it. I've thought of running 'lsof' then check the scrollback buffer just after it plays to see what app/process opened it, but there's no way that I've found to run lsof continuously, like 'top'. Any other suggestions?
hayne
02-13-2006, 04:49 PM
You want to use 'sudo fs_usage' to look for file access.
You could pipe that into 'grep' to filter out what you are looking for.