Viksit Gaur <[EMAIL PROTECTED]> writes: > Do NICs themselves store this data in some form? Could the the OS do so without having switched on any > explicit logging?
The proc system keeps track of RX/TX packets until reboot. Readable in: /sbin/ifconfig eth0 |grep X But it cycles at a maximum of x packets though, where x is related to 32bit size (not sure of details and if it is different these days or varies with 64 bit kernels etc). > In either case, what would be a good tool to use to do this? vnstat is a very light package that will collect those stats. But you have to install it first. vnstat can be inaccurate if you keep switching the machine off before it can process sampled data enough. PJ _______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/
