Cellphonesguide.net
Login or Register to remove ads! You're browsing our forum and website as a Guest meaning you can only see a portion of the forum in read-only mode.
Android Android Games iOS iPhone Samsung Galaxy Google Pixel OnePlus Huawei Xiaomi
Discord Social FB Group Games Ask a Question Apps

Monitoring Network Bandwidth Usage with NetHogs

Monitoring Network Bandwidth Usage with NetHogs
« on: October 01, 2014, 03:56:13 AM »
What is NetHogs?
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.


DOWNLOAD LINK: http://sourceforge.net/projects/nethogs/

Installation
Run the following command:

sudo apt-get install nethogs

Using NetHogs
Root permissions needed and run with sudo:
sudo nethogs

Command line options
sudo nethogs -d 5
sudo nethogs -device eth2
sudo nethogs -device eth0 eth1