Subject: Re: Monitoring amount of data through network interfaces
To: AS <email@example.com>
From: Oliver Hitz <Oliver.Hitz@unifr.ch>
Date: 03/27/1998 15:07:44
On Fri, 27 Mar 1998, AS wrote:
> Just wondering if it is possible to see the number of bytes passed through
> a network interface - all would be nice but specifically dial-up interfaces
> would suffice - particularly modems.
> Win95 seems to do a nice job of this showing sent/received bytes - I guess
> I had something like this is mind so that I could compare my figures with
> what my ISP says.
I don't know exactly about NetBSD's pppd, but in the standard pppd
distribution, there's a program called pppstats that shows you how many
bytes have passed through the interface. I think it should be possible to
start it in the ip-down script to do some sort of automatic logging.