Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #189075
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Cumulative internet data transfer {up AND down} |
| Date | 2017-11-17 16:20 +0100 |
| Message-ID | <uMQAV-6QP-3@gated-at.bofh.it> (permalink) |
| References | <uMQhz-6r6-3@gated-at.bofh.it> <uMQrg-6K2-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
-----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?
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".
HTH
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAloO/P4ACgkQBcgs9XrR2kYDUgCfZMGhfBQFWgKMEO6jNOQFCokG
ojAAn32n70iROdvVg9h0SWAeYzvZNuYy
=FZK3
-----END PGP SIGNATURE-----
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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