From owner-freebsd-questions Tue Jun 9 16:32:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01075 for freebsd-questions-outgoing; Tue, 9 Jun 1998 16:32:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA00920 for ; Tue, 9 Jun 1998 16:31:51 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id AAA04152; Wed, 10 Jun 1998 00:24:18 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199806092324.AAA04152@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: "Jason McKay" cc: questions@FreeBSD.ORG Subject: Re: Measuring Consumption In-reply-to: Your message of "Tue, 09 Jun 1998 12:45:18 +0800." <000201bd9361$67c7cca0$70a019cb@jason.webace.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Jun 1998 00:24:18 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 (http://www.Awfulhak.org/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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message