How Can I count the received data from the internet.
I want to run my bash script and count how many MB it receive.
It could be stats for whole system.
migrated from stackoverflow.com Dec 30 '12 at 16:24
This question came from our site for professional and enthusiast programmers.
watch your network devices
or better use
create a counter rule with no
than watch them with
(for playing with iptable, root access is needed).
You can use pv command, see man pv(1) page. Also you can try different bandwidth monitoring tools.