You are not logged in.

#1 2014-01-04 12:01:58

mfaridi
Member
Registered: 2010-12-15
Posts: 191

how much I use internet

My OS is arch Linux and my arch Linux connected to ADSL modem , and get internet from internet provider or ADSL internet provider , I pay money each month for 4GB of internet , but last month they call me and say I must pay more money , because I use 8GB of internet. I am sure I use only 4GB internet .I want understand how much of internet I use last month , or how much packets is transfer from ADSL modem to my arch Linux .how I can do this ,? Can I do this with applications or firewall ? Or script . this app or script show me how much bandwidth I use last month or everyday.

Offline

#2 2014-01-04 12:09:03

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: how much I use internet

mfaridi wrote:

I am sure I use only 4GB internet .

If you're not already tracking your usage, how can you be sure?

Last edited by tomk (2014-01-04 12:09:37)

Offline

#3 2014-01-04 12:39:33

mfaridi
Member
Registered: 2010-12-15
Posts: 191

Re: how much I use internet

I use this internet provider for 8 month and I use all of these month only 4GB , I do not download and I only use internet for update my system and browse internet . last month they told my I use more than my bandwidth .
I want know how much traffics use everyday

Offline

#4 2014-01-04 12:42:39

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,326
Website

Re: how much I use internet

You can not do this retrospectively. You have to grin and bear it this time.

I use vnstat to monitor this kind of thing.

Offline

#5 2014-01-04 20:14:45

mfaridi
Member
Registered: 2010-12-15
Posts: 191

Re: how much I use internet

vnstat is good , but I need another complete program or application . can  I do this with system log ?

Offline

#6 2014-01-04 20:15:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,433

Re: how much I use internet

What do you need another program for? What command exactly did you use? 'vnstat -m'?

Offline

#7 2014-01-04 20:38:31

mfaridi
Member
Registered: 2010-12-15
Posts: 191

Re: how much I use internet

karol wrote:

What do you need another program for? What command exactly did you use? 'vnstat -m'?

I need another program like vnstat

Offline

#8 2014-01-04 20:39:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,433

Re: how much I use internet

What for? What's wrong with vnstat? Is there something that vnstat doesn't do?

Offline

#9 2014-01-04 20:45:27

mfaridi
Member
Registered: 2010-12-15
Posts: 191

Re: how much I use internet

I need vnstat start in boot time and log all  thing and put it in text files and I can see logs at night.

Offline

#10 2014-01-04 20:55:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,433

Re: how much I use internet

You can start vnstat at boot. What do you need the logs for? What do you want to be logged?

Offline

#11 2014-01-04 21:02:24

mfaridi
Member
Registered: 2010-12-15
Posts: 191

Re: how much I use internet

log everything , how much packet is transfer between my arch linux and ADSL modem , I want undrestand how much internet  ,I use everyday.
.I want understand how much of internet I use last month , or how much packets is transfer from ADSL modem to my arch Linux

Offline

#12 2014-01-04 21:03:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,433

Re: how much I use internet

What is missing from 'vnstat -m' output:

$ vnstat -m

 eth0  /  monthly

       month        rx      |     tx      |    total    |   avg. rate
    ------------------------+-------------+-------------+---------------
      Feb '13    147.57 GiB |    5.93 GiB |  153.50 GiB |  532.25 kbit/s
      Mar '13    196.93 GiB |    6.26 GiB |  203.19 GiB |  636.38 kbit/s
      Apr '13    164.13 GiB |    5.09 GiB |  169.22 GiB |  547.66 kbit/s
      May '13     16.31 GiB |    1.00 GiB |   17.31 GiB |   54.21 kbit/s
      Jun '13     43.52 GiB |    2.26 GiB |   45.78 GiB |  148.18 kbit/s
      Jul '13     88.23 GiB |    8.11 GiB |   96.34 GiB |  301.72 kbit/s
      Aug '13    109.30 GiB |    3.51 GiB |  112.81 GiB |  353.31 kbit/s
      Sep '13     24.55 GiB |    1.56 GiB |   26.11 GiB |   84.49 kbit/s
      Oct '13     57.13 GiB |    2.23 GiB |   59.36 GiB |  185.90 kbit/s
      Nov '13     78.23 GiB |    2.82 GiB |   81.05 GiB |  262.31 kbit/s
      Dec '13    198.34 GiB |    5.43 GiB |  203.77 GiB |  638.19 kbit/s
      Jan '14      8.53 GiB |  391.83 MiB |    8.91 GiB |  220.99 kbit/s
    ------------------------+-------------+-------------+---------------
    estimated     67.53 GiB |    3.02 GiB |   70.55 GiB |

that you need.

Offline

#13 2014-01-04 21:07:03

mfaridi
Member
Registered: 2010-12-15
Posts: 191

Re: how much I use internet

karol wrote:

What is missing from 'vnstat -m' output:

$ vnstat -m

 eth0  /  monthly

       month        rx      |     tx      |    total    |   avg. rate
    ------------------------+-------------+-------------+---------------
      Feb '13    147.57 GiB |    5.93 GiB |  153.50 GiB |  532.25 kbit/s
      Mar '13    196.93 GiB |    6.26 GiB |  203.19 GiB |  636.38 kbit/s
      Apr '13    164.13 GiB |    5.09 GiB |  169.22 GiB |  547.66 kbit/s
      May '13     16.31 GiB |    1.00 GiB |   17.31 GiB |   54.21 kbit/s
      Jun '13     43.52 GiB |    2.26 GiB |   45.78 GiB |  148.18 kbit/s
      Jul '13     88.23 GiB |    8.11 GiB |   96.34 GiB |  301.72 kbit/s
      Aug '13    109.30 GiB |    3.51 GiB |  112.81 GiB |  353.31 kbit/s
      Sep '13     24.55 GiB |    1.56 GiB |   26.11 GiB |   84.49 kbit/s
      Oct '13     57.13 GiB |    2.23 GiB |   59.36 GiB |  185.90 kbit/s
      Nov '13     78.23 GiB |    2.82 GiB |   81.05 GiB |  262.31 kbit/s
      Dec '13    198.34 GiB |    5.43 GiB |  203.77 GiB |  638.19 kbit/s
      Jan '14      8.53 GiB |  391.83 MiB |    8.91 GiB |  220.99 kbit/s
    ------------------------+-------------+-------------+---------------
    estimated     67.53 GiB |    3.02 GiB |   70.55 GiB |

that you need.

thanks ,
can vnstat send logs to text file every night ?
can vnstat show me more information ,for example IPs and ...

Offline

#14 2014-01-04 22:09:03

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: how much I use internet

Why don't you install vnstat and read the docs?

Offline

#15 2014-01-05 13:33:54

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,326
Website

Re: how much I use internet

mfaridi wrote:

log everything , how much packet is transfer between my arch linux and ADSL modem , I want undrestand how much internet  ,I use everyday.
.I want understand how much of internet I use last month , or how much packets is transfer from ADSL modem to my arch Linux

This is what vnstat does. That's all vnstat does. Why do you "need another program"?

mfaridi wrote:

can vnstat send logs to text file every night ?
can vnstat show me more information ,for example IPs and ...

Stop being a help vampire and do some research of your own instead of expecting us to hand-feed you. We've pointed you to a tool that will do what you've asked, and unless you can explain why that doesn't do what you need, we're done here.

Offline

#16 2014-01-05 13:40:40

graysky
Member
From: The worse toilet in Scotland
Registered: 2008-12-01
Posts: 8,812
Website

Re: how much I use internet

If you have a broadcom-based router that can run tomato-usb, it has a nice bandwidth monitoring feature that is good for all devices behind it.  Just google on it from screenshots.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#17 2014-01-05 20:25:14

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: how much I use internet

graysky wrote:

If you have a broadcom-based router that can run tomato-usb, it has a nice bandwidth monitoring feature that is good for all devices behind it.  Just google on it from screenshots.

...and if you have an non-broadcom based router, it stands a decent chance of being supported by OpenWRT and friends, which also have this capability.  In fact, there are quite a few stock firmwares that also have this capability as well.

Offline

#18 2014-01-08 21:06:10

mfaridi
Member
Registered: 2010-12-15
Posts: 191

Re: how much I use internet

thanks all guys,
I learn many thing from this topic . I read many document about vnstat , this app is great and good and help me enough , but if I can find another app can give me more and complete logs it is b etter .for example show  me which website or which app use more internet ,it is better

Offline

Board footer

Powered by FluxBB