Linux equivalent to Mac OS X's fs_usage
- by Khai
Is there a Linux equivalent to the Mac OS X command fs_usage? According to the man page it does the following: "report system calls and page faults related to filesystem activity in real-time".
I suppose one option would be to use strace and filter the data, however the fs_usage command allows all the processes running on the system to be "traced" at the same time.
Here's an example output:
03:44:25 stat64 erences/ByHost/org.mozilla.firefox.69AC0B48-F675-5045-B873-A28B119C33E7.plist 0.000029 firefox
03:44:25 stat64 /Users/**********/Library/Preferences 0.000011 firefox
03:44:25 statfs64 /Users/**********/Library/Preferences 0.000004 firefox
03:44:25 open /Users/**********/Library/Preferences/org.mozilla.firefox.plist.lockfile 0.000090 firefox
03:44:25 stat64 /Users/**********/Library/Preferences/org.mozilla.firefox.plist 0.000004 firefox
03:44:25 stat64 /Users/**********/Library/Preferences 0.000002 firefox
03:44:25 open /Users/**********/Library/Preferences/org.mozilla.firefox.plist.vjLkANe 0.000100 firefox
Any ideas?