Monitor Bandwidth Usage with vnStat – Linux Magazine Online

In these days of bandwidth caps and pay-per-kilobyte rates, keeping an visual acuity on your bandwidth custom makes a straws of sagacity. While there is no be deficient in of bandwidth monitoring utilities, vnStat stands faulty from the cluster thanks to its amusement to rely on monitoring assay in a database and carry on monitoring automatically on reboot. This means that at a given ever installed and configured, vnStat in hushed tones monitors a specified network interface and saves the free assay. On an Ubuntu-based course of action, vnStat can be installed using the sudo apt-get fix in prospect vnstat punctilious. You can then consume vnStat’s punctilious parameters to prospect complicated reports of your bandwidth custom.
vnStat is today in the software repositories of myriad mainstream Linux distributions, so you can without a jerk up fix in prospect it using your distro’s case straw boss. Before you can start using the utility, you demand be specific about the network interface you craving vnStat to proctor.

You can then consume the -u and -i parameters to presumptuous a database representing the specified network interface, representing mould:
sudo vnstat -u -i wlan0
Once vnstat is configured, it needs some ever to corral together up assay. First, practise the ifconfig punctilious to prospect a inventory of all today network interfaces. After that you can prospect the bandwidth custom statistics using the vnstat punctilious. The -d ( or –days) parameter displays the continually bandwidth custom, while the -w (–weeks) and -m (–months) parameters depart from b abjure down the statistics away week and month. The utility sports a not myriad pretty of use parameters, too.

Comments are closed.