fs_usage [-e] [-w] [-f mode [-f mode] ...] [pid|cmd [pid|cmd] ...]
display system call usage information pertaining to filesystem activity.
requires root privileges .
default includes all system processes except fs_usage Terminal, telnetd, sshd, rlogind, tcsh, csh and sh.
A narrow window will display few columns of data.
Piping output reqults in many I/O's related to piping.
_debug causes applications to use the debug version of all libraries including the Carbon FileManager. See dyld.
the high level Carbon FileManager calls
will be displayed bracketing the system calls that they are built on.
|Wide mode includes millisecond|
|of the network or filesystem related call, page-in, page-out or physical disk access.|
|F=x, either an input value or a return value.|
| rightmost 28 characers. |
fs_usage will display file system related data for all instances of processes named Mail. Maximum data output will be displayed in the window.
sudo fs_usage -w -f filesys Mail
SEE top, sc_usage, latency, dyld
Mac OS X November 7, 2002