Ubuntu Reference Guide

part of the WillPowered Inc. network
© 2011 William Hall <5/> - This site uses HTML5

Applications \ vnStat

vmStat is a tiny script which monitors your memory usage. vnStat is the network version which will log your bandwidth usage every 5 minutes.

$ sudo apt-get install vnstat

You have to run it once to create the database.

$ sudo vnstat -u -i eth0

Then start the service to start logging.

$ sudo service vnstat start