On Tue, 22 Dec 1998, Grahame Jordan wrote:

> Can pppd log byte usage. Especially when the interface goes down.  I would
> think that the /etc/ppp/ip-down script would be a good place to send this
> information.
> 
> Can this be implemented in pppd?  This would be a GOOD feature!!

Two things you should look at.

1.  /proc/net/dev logs packets per interface.

2.  [/usr/sbin/]pppstats gives various ppp statistics while the interface
is up.  See the man/info page.

Geof

DISCLAIMER:  The comments above are my own and may not represent the views
             of my employer.
+-------------------------------+-------------------------------------------+
:     Geoffrey P. Goodrum       :         US Department of Commerce         :
:       +1-301-457-5100         : NOAA/NESDIS National Climatic Data Center :
: [EMAIL PROTECTED]:         Satellite Services Branch         :
+-------------------------------+-------------------------------------------+


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to