Console network monitors

I keep turning over rocks and finding new console applications that are worth mentioning. I thought I had scraped the bottom of the barrel, but the list of gizmos, gadgets and whirligigs available for the terminal seems to be growing instead of shrinking. They’re like coat hangers, or bunnies. They’re constantly reproducing when you’re not looking.

I found two network traffic monitors I hadn’t heard of, and I’ve added both to my system even if I hardly need them. I already mentioned slurm a few weeks ago, which still stands as one of my favorites. Nothing better than a sideways-scrolling multicolor network graph to keep the kids busy for days.

On the other hand, slurm doesn’t feed you much in the way of details, even if it is a dandy visual metaphor for your network activity. If you want details, you can always install tcpdump, but watching tcpdump spit out information is a bit like skimming a phone book, with lots of numbers and words spinning past without much in the way of coherent presentation.

Here are two more, that are more organized: iptraf and iftop.

At the top is iptraf, and on the bottom right is iftop. slurm is on the left, just for comparison’s sake.

All three are fairly straightforward, showing traffic and usage in their own particular ways. The white bars in iftop will scale to the left and right depending on rates and activity, inverting the text so its readable. iptraf has a detailed version if you want to focus on just one interface, and it will give you far more information that just what you see there. And I suppose it’s worth mentioning that slurm has three graphs you can switch between, by pressing the ‘c,’ ‘l,’ and ‘s’ keys while it’s running.

I don’t have a clear favorite, although personally I see more of a use for slurm and iftop than iptraf. I think on a complex, busy machine like a server or a network host iptraf would be the winner, just because it seems to have more details particular to each address and interface. For me, it’s a little less appealing than the other two.

slurm is good stuff, but slurm doesn’t give me as much information as iftop does. It’s actually kind of nice to be able to connect the numbers to the destinations — to put names to the faces, so to speak. And it’s important to say that iftop has a brief help screen — press ‘h’ — and you can adjust the display to something of your liking. And I like that I can cram iftop into a tiny windowbox and not lose any information … for the most part.

But it’s not colorificationized, like slurm, and doesn’t have cool peaks and valleys and up-and-down-rates in two configurable colors, like slurm. And it doesn’t show as much detail as iptraf can, for the most part. So for me there’s no clear winner, even if I’m more inclined to use iftop and slurm, than iptraf.

You try them and see what you like. They’re all free, and the only investment is the time you spend to install them. Linux is cool that way, isn’t it? :mrgreen:

About these ads

11 thoughts on “Console network monitors

  1. mardson

    yay! you read your comments

    i agree that iptraf is insanely more complicated that iftop. i definitely use iftop more than anything else. it’s amazing how productive you can be on a terminal!

    Reply
    1. K.Mandla Post author

      I always read the comments. :)

      Yes, iptraf is definitely more detailed than the others, but I doubt I have a practical use for it.

      Reply
  2. jared

    Great tools. I have a somewhat comprehensive list of CLI Desktop tools which I add the 3 you mentioned. http://jaredandcoralee.com/CLIapps.html Any suggestions to the list would be appreciated.
    It may give you some additional CLI tools you may want to try out. It’s my attempt to show that anything on the desktop can be done in the CLI.

    Reply
  3. Pingback: Seeding Jaunty « Motho ke motho ka botho

  4. Pingback: Quasi-eponymous three-letter-name terminal applications « Motho ke motho ka botho

  5. Pingback: How could I have forgotten « Motho ke motho ka botho

  6. Pingback: On the menu « Motho ke motho ka botho

  7. Pingback: The unknown network monitor « Motho ke motho ka botho

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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