VnStat PHP: A Web Based Interface for Monitoring Network Bandwidth Usage

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Linux BASH Programming Cookbook
Getting Started with Ubuntu 16.04
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

8 Responses

  1. Steven says:

    On Linux Mint 17.3 only need to change this command:

    # cp -fr vnstat_php_frontend-1.5.1/ /var/www/vnstat


    $ sudo cp -fr vnstat_php_frontend-1.5.1/ /var/www/html/vnstat

  2. michael says:

    i am new to linux i am running linux mint 17.3 i can run vnstat in the terminal and it tells me data usage but i cant get the web browser to work i want to know how much data i am using

    • Ravi Saive says:


      Have you installed Apache with all required modules? have you added correct settings about your interfaces in vnstat config.php file? have you opened port 80 on the firewall to access to the vnstat over web? please check these things again and let me know what error you still getting on vnstat web?

  3. Chad says:

    Works great thanks for the tutorial :D

  4. Stephen says:

    There is a spelling mistake in your code.

    $ sudo apt-get insatll vnstat

    Should be

    $ sudo apt-get install vnstat

  5. fianbiasa says:

    i love your tutorial, thank you for Posting…
    i’ll follow ;)

  6. Sandeep says:

    Pretty good article.


    Just want to know when eth0 database is created, which type of database it is & if we want to open in another application how can we use it ?

    Thanks in advance



Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?