How to find which process is eating up my bandwidth?

Nethogs is the tool to monitor the processes that are using internet and it also specifies how much bandwidth (speed in KB/sec) i.e. how much data is sent and how much is received.

Installation:

Install nethogs using command:

sudo apt-get install nethogs

If you are using wireless connection, then specify the device like:

sudo nethogs wlan0

I found the process “java” was eating up bandwidth and I killed the process using command:

killall java

Then you may again execute nethogs command to see if it’s gone or not.

Advertisements

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