iotop (dtrace?)

Steven Hartland killing at
Tue Oct 25 20:56:17 UTC 2011

top and then use the IO mode, will give you an idea where the issue is.


----- Original Message ----- 
From: "Stefan Bethke" <stb at>
To: <freebsd-hackers at>
Sent: Tuesday, October 25, 2011 9:34 PM
Subject: iotop (dtrace?)

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

freebsd-hackers at mailing list
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at"

This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at

More information about the freebsd-hackers mailing list