August 18, 2010 · Monitoring ·

Sponsored Link
NetHogs is a small ‘net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process. NetHogs does not rely on a special kernel module to be loaded. If there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this. This makes it easy to indentify programs that have gone wild and are suddenly taking up your bandwidth.
Since NetHogs heavily relies on /proc, it currently runs on Linux only.

Install nethogs in ubuntu

Open the terminal and run the following command

sudo apt-get install nethogs

Syntax

nethogs [-d] [-h] [-p] [-t] [-V] [device(s)]

Options
The -d switch delay for refresh rate.

The -h switch display available commands usage.

The -p switch sniff in promiscious mode (not recommended).

The -t switch tracemode.

The -V switch prints Version info.
Screenshot



Sponsored Link

4 Comments to “nethogs – Net top tool grouping bandwidth per process”

  1. develop7 says:

    Holy cow! I’ve been looking for this app for last 2 years.

    Thank you a lot.

  2. Motsatt says:

    This app is absolute awesomeness. Other bandwidth monitors I have used have reported wrong on upload and I thought I had a leak or was hacked or that something was wrong. With nethogs I now have full control over my network connection and what processes that uses it.

    I highly recommend this.

  3. dalieu says:

    Very useful tool!

  4. Bradlee says:

    Brilliant. Simple and spot on.
    Thanks.

Leave a Reply

  • Recent comments