Worth repeating: nethogs

The end-of-the-year press is upon me, so I have less and less time in the coming week to experiment. As a post for today, I’ll mention nethogs — sort of again, since Parka mentioned it first in a comment last week.

There are a bazillion console network monitors available in Linux systems, and I’ve seen a lot of them. It’s nice to find one though, that will sort its display by process.

That means you can usually see the program that is specifically accessing the network interface. It’s a subtle, but impressive effect.

Beyond that, nethogs but has a sprinkling of options that will affect the output in a way you might like. Take a look and see if it appeals to you.

Two down, +/- 398 to go. … :shock:

About these ads

3 Responses to “Worth repeating: nethogs”

  1. 1 driveby 2010/12/22 at 12:48 PM


    btw wish you the best in the new year.

  2. 2 Parka 2010/12/24 at 1:42 AM

    Also a very simple but detailed and useful command is
    “lsof | grep -e TCP -e UDP”. It shows all connections of running applications. I have this as an alias in my .bashrc:
    “alias connections=”lsof | grep -e TCP -e UDP” “

    • 3 dej10 2010/12/29 at 10:02 PM

      That command is useful indeed, thanks!

      Back when I was using Windows I was using DU Meter for network monitoring. On Linux I have been using nethogs ever since, but it could never quite replace it.

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


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,960,744 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: