jtd wrote
ifconfig will give you the number of packets recieved /sent. Multiply by the mtu usually 1500 and u have the number of bytes sent /recieved since the interface went up.
I dont think that's what he wanted, you will lose the counter in ifconfig when you reboot the machine. But you are right the answer is available on google. Try "IP Accounting + Linux"
Regards, Keith Fernandez ------------------------- Reliance IDC DAKC Navi Mumbai 022-30374188 -------------------------- Disclaimer: This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited