From owner-freebsd-isp Wed Oct 1 20:15:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA27392 for isp-outgoing; Wed, 1 Oct 1997 20:15:35 -0700 (PDT) Received: from gargoyle.bazzle.com (ppp.bazzle.com [206.103.246.190]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA27385 for ; Wed, 1 Oct 1997 20:15:28 -0700 (PDT) Received: from localhost (ejc@localhost) by gargoyle.bazzle.com (8.8.7/8.8.5) with SMTP id XAA20164; Wed, 1 Oct 1997 23:14:42 -0400 (EDT) Date: Wed, 1 Oct 1997 23:14:42 -0400 (EDT) From: "Eric J. Chet" To: Steve Milliner cc: freebsd-isp@FreeBSD.ORG Subject: Re: packet counting In-Reply-To: <199710020208.MAA03607@russell.icis.qut.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 2 Oct 1997, Steve Milliner wrote: > Is there any "simple" way of getting accounting info on the amount of traffic > flowing through my machine to another box (over a ppp link) ? > > I've tried ipfw - but the help/man pages were too cryptic (for me at least). > - but I'd be glad to try again if someone could point me to a good ref. > > pppstats doesn't work - I'm guessing this is because I'm using the software > version of ppp ? (I get a "device not configured" error). Hello I'm using pppd and pppstats works for me, this is under current. ejc@gargoyle$ pppstats -c 4 ppp0 IN PACK VJCOMP VJUNC VJERR | OUT PACK VJCOMP VJUNC NON-VJ 0 0 0 0 0 | 0 0 0 0 0 418 4 0 0 0 | 246 5 2 1 2 0 0 0 0 0 | 0 0 0 0 0 315 3 0 0 0 | 442 4 0 3 1 Later, Eric Chet -- ejchet@lucent.com || ejc@bazzle.com Systems Analysts - Specializing in OOA, OOD and CORBA "That which does not kill me, makes me stronger." Friedrich Nietzsche > > REGS & Thanks in Advance > Stephen >