To monitor Network or ADSL Bandwidth in Ubuntu


Scenario:

To monitor the network bandwidth or internet bandwidth in Ubuntu for understanding network traffic incoming (Rx) and outgoing (Tx)

Solution:

VNSTAT is the command helps to monitor the network traffic corresponding to the Ethernet adaptors.

To install $sudo apt-get install vnstat

 

 

 

 

 

 

 

More help:

# vnstat –help

vnStat 1.11 by Teemu Toivola <tst at iki dot fi>

-q,  –query          query database

-h,  –hours          show hours

-d,  –days           show days

-m,  –months         show months

-w,  –weeks          show weeks

-t,  –top10          show top10

-s,  –short          use short output

-u,  –update         update database

-i,  –iface          select interface (default: eth0)

-?,  –help           short help

-v,  –version        show version

-tr, –traffic        calculate traffic

-ru, –rateunit       swap configured rate unit

-l,  –live           show transfer rate in real time

See also “–longhelp” for complete options list and “man vnstat”.

Reports: 

1. You can get the report by using the symbol  > while executing the command.

Eg: $ vnstat > vnstat.txt

2. There is web tool available for generating the reports. Please go through the url below.

http://www.netmonitoring.org/vnstat-bandwidth-monitoring/vnstat-php-frontend-install-config-webinterface-for-vnstat/

 

Advertisements

One Response to To monitor Network or ADSL Bandwidth in Ubuntu

  1. uesison says:

    Very nice post. I just stumbled upon your weblog and wished to say that I have really enjoyed surfing around your blog posts. After all I will be subscribing to your rss feed and I hope you write again very soon!

Leave a Reply

Please log in using one of these methods to post your comment:

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

%d bloggers like this: