How can I see what applications are accessing the disk under OS X?
July 30, 2007 4:26 PM Subscribe
I have a strong memory that there's an OS X command-line tool that can dump to the terminal a running log of all disk accesses, including which executable is reading or writing. It was very handy in figuring out what the Mac was doing when the disk was busy but the load was low. Does anyone remember what this was?
"top" might be useful too.
posted by flabdablet at 4:54 PM on July 30, 2007
posted by flabdablet at 4:54 PM on July 30, 2007
Best answer: fs_usage it is; note that it requires root/sudo to run it.
lsof will only provide a dump of open files and which process has them open. fs_usage is a real-time 'stream' of read/write accesses to the file system. It's pretty neat to watch, in a geeky sysadmin way, if you never have before.
posted by kimota at 6:25 PM on July 30, 2007
lsof will only provide a dump of open files and which process has them open. fs_usage is a real-time 'stream' of read/write accesses to the file system. It's pretty neat to watch, in a geeky sysadmin way, if you never have before.
posted by kimota at 6:25 PM on July 30, 2007
Response by poster: Yes, fs_usage! Thanks very much, kimota.
posted by nicwolff at 6:54 PM on July 30, 2007
posted by nicwolff at 6:54 PM on July 30, 2007
I found fseventer to be much more functionally useful in this regard.
posted by vacapinta at 12:33 AM on July 31, 2007
posted by vacapinta at 12:33 AM on July 31, 2007
This thread is closed to new comments.
posted by brettcar at 4:32 PM on July 30, 2007