On Sat, Jun 23, 2012 at 11:37 PM, Harisankar P S <[email protected]> wrote:

> Hey,
>
> Is there a way to keep track of the network traffic through all the
> different interface devices in my system. Or a library to do so, I want to
> create a log that store the total size of file transfered since the script
> or program starts running.
>
>
vnstat is also good at it.

vnstat -i eth0 -d

 eth0  /  daily

         day         rx      |     tx      |    total    |   avg. rate
     ------------------------+-------------+-------------+---------------
      05/27/12     28.17 MiB |    5.02 MiB |   33.19 MiB |    3.15 kbit/s
      05/28/12         0 KiB |       0 KiB |       0 KiB |    0.00 kbit/s
      05/29/12     20.62 MiB |    3.32 MiB |   23.94 MiB |    2.27 kbit/s


-- 
Regards,
Balasubramaniam Natarajan
www.etutorshop.com/moodle/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to