Bandwidth consumption statistics using vnstat

In some cases (for example,. mobile Internet, where you pay for the transfer of), good to have control over the amount of data sent and downloaded. May be helpful for programs that use statistics to create links.

Among these, mention may be m.in. vnStat, darkstat lub ntop. Personally I liked the first one - simple to configure, designed without unnecessary complications, easily be used to present data in a chosen manner, data shows almost on a regular basis (a maximum delay of a few minutes).

Installation and Configuration

First of all, you will need a package:

Additionally - if we are interested in statistics in graphic form - you can later install package:

Below you how to install the Centosa7
Repozytorum charge EPEL and upgrading the system:

Then install the package:

Run it on your system:

Below a few shortcut commands:

### daily Stats ###

### monthly statistics ###

### live Stats ###

### Help ###

Install additional video overlay:

charge

Unpack the directory and move to: /var / www / html /:

Edit config.php file:

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.