iotop for better disk monitoring

A learned a long time ago about the vmstat 1 command, which will allow you to watch some of the action that’s happening in your system. It’s a useful command, and I find myself relying on it most often when I want to get an idea of drive input and output.

But for an application that is dedicated to watching drive throughput as it occurs, by process, iotop is a better solution.

In the vein of iftop, htop and perhaps even iptraf, iotop looks a lot like the age-old top, and behaves similarly too. Process by process, you get a full list of everything running and what it requires in disk access. Aside from that there are some filters available, a batch mode that will run uninterrupted, sorting options and so forth, as you might expect.

It’s a python program, and as mentioned in the past, programs that run through python or other interpreters can be more taxing on underdog hardware. I get the feeling this one is fairly lightweight though, and considering it might help you pinpoint that annoying drive hog somewhere, it’s probably worth the resources it requires.

P.S.: fbterm in the background once more. Suddenly I have a use for all my old wallpaper again. …

About these ads

3 Responses to “iotop for better disk monitoring”

  1. 1 road 2010/05/30 at 1:24 AM

    question: do you know of any way to monitor disk I/O on a cluster that uses a shared file-system? these tools (top, vmstat) appear to only show you disk I/O by the computer you’re currently using… but if that filesystem is shared by a number (or hundreds) of other computers, do you know a good way to watch I/O in real-time?

    • 2 K.Mandla 2010/05/30 at 7:25 PM

      I am afraid I’m out of my depth when it comes to clustered or shared file systems. Perhaps someone else can offer a suggestion. … :(

  2. 3 morgan 2010/05/30 at 7:03 PM

    Iotop is another reason not to use Centos.

    The latest version will not work with Centos 5.x as the kernel is too old and is the version of python (yet another useful tool you will miss if you choose centos.)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,959,123 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: