Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #189083

Re: Cumulative internet data transfer {up AND down}

From Richard Owlett <rowlett@cloud85.net>
Newsgroups linux.debian.user
Subject Re: Cumulative internet data transfer {up AND down}
Date 2017-11-17 18:10 +0100
Message-ID <uMSjn-7Wj-3@gated-at.bofh.it> (permalink)
References <uMQhz-6r6-3@gated-at.bofh.it> <uMQrg-6K2-7@gated-at.bofh.it> <uMQAV-6QP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/17/2017 09:15 AM, tomas@tuxteam.de wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, Nov 17, 2017 at 09:00:05AM -0600, Michael Milliman wrote:
>> AIR, iptables will do that. It has been a long time since I have looked at
>> iptables, but I seem to remember that it will keep those kinds of
>> statistics and it will do it on a per-interface level, all you have to do
>> is set it up to monitor the interface connected to the internet.
>>
>> 73s de WB5VQX
>>
>> On Nov 17, 2017 08:52, "Richard Owlett" <rowlett@cloud85.net> wrote:
>>
>>> I'm interested in investigating cumulative data to/from the internet for
>>> selected interval ranging from an hour to a week.
>
> Does something like this work for you?

I don't know.
Using <https://manpages.debian.org/stretch/iproute2/ip.8.en.html> I was 
not able to parse the given example.
The output shown for the example hints at "Yes".
I'll have to investigate the references under "See Also".

A reference WITHOUT a link referred to "IP Command reference ip-cref.ps".
A search lead to <http://linux-ip.net/gl/ip-cref/> which EXPLICITLY 
stated "It is not a tutorial or user's guide."
But that's what I need. Where should I look?

TIA

>
>   tomas@trotzki:~$ ip -stats -h link show wlan0
>   3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
>       link/ether 84:3a:4b:20:44:40 brd ff:ff:ff:ff:ff:ff
>       RX: bytes  packets  errors  dropped overrun mcast
>       4.52M      6.73k    0       0       0       0
>       TX: bytes  packets  errors  dropped carrier collsns
>       617k       5.32k    0       0       0       0
>
> NOTE: the option -h is the one responsible for the suffixes (k, M).
>      Like in "human".
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cumulative internet data transfer {up AND down} Richard Owlett <rowlett@cloud85.net> - 2017-11-17 16:00 +0100
  Re: Cumulative internet data transfer {up AND down} Roberto C. Sánchez <roberto@debian.org> - 2017-11-17 16:00 +0100
    Re: Cumulative internet data transfer {up AND down} Richard Owlett <rowlett@cloud85.net> - 2017-11-17 17:30 +0100
  Re: Cumulative internet data transfer {up AND down} Michael Milliman <michael.e.milliman@gmail.com> - 2017-11-17 16:10 +0100
    Re: Cumulative internet data transfer {up AND down} <tomas@tuxteam.de> - 2017-11-17 16:20 +0100
      Re: Cumulative internet data transfer {up AND down} Richard Owlett <rowlett@cloud85.net> - 2017-11-17 18:10 +0100
        Re: Cumulative internet data transfer {up AND down} Michael Milliman <michael.e.milliman@gmail.com> - 2017-11-18 03:20 +0100
  Re: Cumulative internet data transfer {up AND down} Stefan Monnier <monnier@iro.umontreal.ca> - 2017-11-17 17:20 +0100
  Re: Cumulative internet data transfer {up AND down} Eric S Fraga <e.fraga@ucl.ac.uk> - 2017-11-17 17:30 +0100
    Re: Cumulative internet data transfer {up AND down} Miles Fidelman <mfidelman@meetinghouse.net> - 2017-11-17 20:20 +0100
  Re: Cumulative internet data transfer {up AND down} David Wright <deblis@lionunicorn.co.uk> - 2017-11-17 17:50 +0100
    Re: Cumulative internet data transfer {up AND down} Richard Owlett <rowlett@cloud85.net> - 2017-11-17 22:20 +0100
      Re: Cumulative internet data transfer {up AND down} David Wright <deblis@lionunicorn.co.uk> - 2017-11-18 16:20 +0100
        Re: Cumulative internet data transfer {up AND down} Richard Owlett <rowlett@cloud85.net> - 2017-11-18 22:10 +0100
  Re: Cumulative internet data transfer {up AND down} Felipe Salvador <felipe.salvador@gmail.com> - 2017-11-17 19:00 +0100
    Re: Cumulative internet data transfer {up AND down} Richard Owlett <rowlett@cloud85.net> - 2017-11-17 22:20 +0100
  Re: Cumulative internet data transfer {up AND down} Igor Cicimov <icicimov@gmail.com> - 2017-11-18 09:10 +0100
    Re: Cumulative internet data transfer {up AND down} Michael Milliman <michael.e.milliman@gmail.com> - 2017-11-18 14:10 +0100
      Re: Cumulative internet data transfer {up AND down} David Wright <deblis@lionunicorn.co.uk> - 2017-11-18 16:20 +0100

csiph-web