On 2/9/07, Anurag wrote:
Sometime on Friday 09 February 2007 18:58, G Karunakar said:
on another note..is there any tool for logging ppp traffic volume?.. since its importatnt to keep a track of how much data transfered, to keep within limits, i know kppp does that.
Use "vnstat". Once installed, you need to generate the interface's database once by using "vnstat -u -i ppp0". And it will keep monitoring the data usage till you reset the statistics(at the end of month perhaps)
sample output would be like:
$ sudo vnstat rx / tx / total / estimated eth0: yesterday 1829 MB / 1174 MB / 3004 MB today 3249 MB / 3132 MB / 6381 MB / 7893 MB
ppp0: yesterday 231.99 MB / 132.73 MB / 364.73 MB today 1022 MB / 909.41 MB / 1932 MB / 2388 MB
who keeps are regular log of the traffic, if this is not running as a daemon?
Karunakar