iotop (dtrace?)

Stefan Bethke stb at
Tue Oct 25 20:34:42 UTC 2011

I've got two systems with a constantly high rate of disk I/O that sometimes seems to be overwhelmed from it.  Before trying to decide if a hardware upgrade will help, I'd like to figure out which processes generate the load.

I've found a couple scripts named iotop which appear to produce what I would be interested in, but they appear to require Solaris or Linux. 

Has someone ported over one of them, or would have a suggestion how to go about writing a custom dtrace script to gather this kind of information?

I can successfully run a couple of sample dtrace scripts on these 8-stable amd64 boxes.


Solaris dtrace-based iotop:
Linux /proc-based Python script:	

Stefan Bethke <stb at>   Fon +49 151 14070811

More information about the freebsd-hackers mailing list