Results 1 to 6 of 6

Thread: How to measure volume of internet use

  1. #1
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,270
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question How to measure volume of internet use

    I want to measure how much Internet I use on a day-to-day basis.

    I don't mean how much time I spend on the Internet.

    I mean volume of data; i.e. how many Mb of data I download and upload, including everything: surfing, on-line backups, emails, IM, VOIP, updates, streaming, and so forth.

    I don't need this broken down by type (though it would be nice); I just need totals per 24 hour periods.

    How can I get these statistics? Do I need to install a special program?

    TIA
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  2. #2
    Join Date
    May 2006
    Beans
    7

    Re: How to measure volume of internet use

    vnStat could be useful to you. Can also output the data into graph format for you too.

    http://humdi.net/vnstat/
    http://humdi.net/vnstat/cgidemo/

  3. #3
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,270
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to measure volume of internet use

    Thank you for the suggestion. It looks good.

    Is there an idiot's guide to setting it up?

    I've managed to get to the point that I can run vnstat -u -i eth0 without getting an error. Do I have to install an Apache server on my computer to get the graphical interface?
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  4. #4
    Join Date
    May 2006
    Beans
    7

    Re: How to measure volume of internet use

    Yes, it is a .cgi script, so requires a web server for this part. The .cgi script should be part of the package download.

    By default, it will run as a daemon, so after the vnstat -u -i eth0 command is issued, it should update itself according to the config located at /etc/vnstat.conf. The home page linked earlier has the Man pages in html/pdf format.

    http://humdi.net/vnstat/man/vnstatd.html

  5. #5
    Join Date
    Aug 2008
    Beans
    Hidden!

    Re: How to measure volume of internet use

    You can get ascii-graphics just by entering vnstat -d (volume per day) or other options; see man vnstat

  6. #6
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,270
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to measure volume of internet use

    Quote Originally Posted by Muppet View Post
    Yes, it is a .cgi script, so requires a web server for this part...
    Quote Originally Posted by SecretCode View Post
    You can get ascii-graphics just by entering vnstat -d (volume per day) or other options; see man vnstat
    Thank you!

    It's working exactly as you described.

    I won't bother about installing Apache; the text display is quite sufficient for my purposes.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •