…in Solaris 10 and Mac OS X >= 10.5
Hey, which processes are trashing my disks?
$ sudo dtrace -n 'io:::start { @[pid, execname] = sum(args[0]->b_bcount); }'
In Os X, get more details on what's happening with the dtrace-based script iosnoop.
iosnoop