On Sat, 2006-06-10 at 12:48 +0530, Aparna Appaiah wrote:

> Now, I am looking for an unobtrusive way of measuring how many bytes I
> use up every session, especially as I find the MTNL account check very
> unreliable.

Indeed, I have come to the same conclusion after going thru the session
details report.

>  I heard that the TX bytes and RX bytes are the correct
> indicators in the output of /sbin/ifconfig eth0. I wanted to know
> whether noting these down is a measure of how much I have used in that
> session. Also, I wanted to know whether these details are logged
> elsewhere on my PC, in some file, so that I can extract the details
> from that file.

This is a very reliable number.  You could write a script to capture the
date/time, Rx/Tx (from ifconfig) @ the begining and the end of your
pppoe session and save it in a CSV format but ... there are a couple of
solutions that were discussed in the Linux India Help list - sorry
cannot remember them of the cuff.   I suggest you search thru the list
archive
http://sourceforge.net/mailarchive/forum.php?forum=linux-india-help

-- Arun Khan (knura at yahoo dot com) "Drawing on my fine command of
language, I said nothing."


-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to