Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 1998 00:24:18 +0100
From:      Brian Somers <>
To:        "Jason McKay" <>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Measuring Consumption 
Message-ID:  <>
In-Reply-To: Your message of "Tue, 09 Jun 1998 12:45:18 +0800." <000201bd9361$67c7cca0$> 

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> Hi,
> I need a means of measuring how much data (in megabytes) my dial-in ppp
> clients are using.  I am running FreeBSD 2.2.6-RELEASE, with pppd and
> mgetty.
> Any suggestions?

Use ppp and `enable throughput'.  This is the default for the latest 
ppp (  If you've got ``phase'' logging, 
you'll see something like:

Jun  9 23:21:20 gate ppp[10443]: tun0: Phase: USR: Connect time: 118 secs: 159550 octets in, 13293 octets out

in /var/log/ppp.log at the end of each session.  IPCP logging will do 
this at the IP level (useful if you're enabling MP support).

> Thanks,
> Jason.

Brian <>, <>, <>
Don't _EVER_ lose your sense of humour....

To Unsubscribe: send mail to
with "unsubscribe freebsd-questions" in the body of the message

Want to link to this message? Use this URL: <>