Sunday, 24 February 2013

How to check which applications are using your bandwidth ?

Reactions: 
 With default installation of openSUSE 12.2 , GNOME 3.4 it is difficult to ascertain as to which application is consuming how much of your internet bandwidth. We need to install an application / package called "nethogs" to check bandwidth consumed by each application. It is essentially a Network Bandwidth Usage Monitor.
 NetHogs is a small command line based 'net top' tool. It groups bandwidth by process. This tool makes it easy to identify programs that have gone wild and are suddenly taking up your bandwidth.
Install NetHogs
Method 1 (1 Click)
 Navigate to this openSUSE AppStore page and click on relevant 1 Click Install link to install the tool.
NetHogs 1 Click One Click install
Method 2 (YaST)
 Using YaST you can add the appropriate repos and install the relevant packages. For more details about YaST usage, check out the links provided below.
Repo for openSUSE 12.1
http://download.opensuse.org/repositories/network:/utilities/openSUSE_12.1/
Repo for openSUSE 12.2
http://download.opensuse.org/repositories/network:/utilities/openSUSE_12.2/
Video demo on addition Of custom repo to YaST installer
YaST Installer Package Installation Video Demo
Method 3 (zypper)
 open command launcher(Alt+F2), open GNOME terminal (gnome-terminal) and then using zypper you can add the relevant repos and then install "nethogs" package.
Repo for openSUSE 12.1
http://download.opensuse.org/repositories/network:/utilities/openSUSE_12.1/network:utilities.repo
Repo for openSUSE 12.2
http://download.opensuse.org/repositories/network:/utilities/openSUSE_12.2/network:utilities.repo
Add repo
sudo zypper ar -f http://download.opensuse.org/repositories/network:/utilities/openSUSE_12.2/network:utilities.repo
Install nethogs
sudo zypper in nethogs
Notes:- sudo is used to switch to super user mode; zypper is package manager; ar option adds repo; -f option sets the repository flag as auto refreshed; in option is for installation.
NetHogs Usage
 open command launcher(Alt+F2), open GNOME terminal (gnome-terminal) and then launch nethogs as shown below. NetHogs will clearly show you which program is using up your bandwidth.
sudo /usr/sbin/nethogs
NetHogs Usage

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...