Wednesday, August 14, 2013

Monitor Network Bandwidth Usage With Vnstat

Vnstat is the tool to check the the internet bandwidth usage, finding the bandwidth usage over an hour, day, week can be tricky. to install vnstat in linux you need to run the following command.


sudo apt-get install vnstat



After installing the vnstate you need to run the below command to check your network bandwidth usage,

vnstat


To check hourly network usage you need to run

vnstat -h

to check the network per day

 vnstat -d

for weekly network usage

 vnstat -w

for monthly network usage

 vnstat -m

Find highest network of top 10 days using the below command

 vnstat -t

vnstat -dvnStat is a useful little tool to get a good overview of how much bandwidth you use on a hourly/daily/weekly/monthly basis and requires almost no resources to do so.

No comments: