-----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" <rowl...@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-----