On Mon, 8 Sep 2008 20:46:41 Geoffrey S. Mendelson wrote: > > How do I keep track of the number of bytes sent and received per month? > > To be exact I'm running a 2.4.34 kernel, and the interface is ppp0 > using the old pptp-linux user space driver. > > Being able to resolve it to the something like every 10 minutes would be > fine, I can save the results to a file and tabulate them later.
Look at /proc/net/dev. I think that if the ppp0 link is up, you have a line with ppp0 statistics there (I can't check because I don't have ppp0 connection on any machine). Ehud. -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]