From owner-freebsd-isp Tue Jul 8 15:51:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA14085 for isp-outgoing; Tue, 8 Jul 1997 15:51:13 -0700 (PDT) Received: from apollo.netsonic.com (netsonic.com [207.250.84.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA14079 for ; Tue, 8 Jul 1997 15:51:09 -0700 (PDT) Received: from adam.netsonic.com (zeus.netsonic.com [207.250.84.25]) by apollo.netsonic.com (8.8.5/8.8.5) with SMTP id RAA03713 for ; Tue, 8 Jul 1997 17:49:45 -0500 (CDT) Message-Id: <3.0.32.19970708175611.00e9bfbc@mail.netsonic.com> X-Sender: adam@mail.netsonic.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 08 Jul 1997 17:56:13 -0500 To: freebsd-isp@FreeBSD.ORG From: NetSonic Subject: Re: per-user IP accounting Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk If I run netstat -abin, I get a list of all ip's but they are all the same, what needs to happen to breask that down for each particular ip? Sample output: bash# netstat -abin Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll ed0 1500 00.40.05.1f.95.fb 98874 0 15603056 101223 0 41452333 427 1:0:5e:0:0:1 ed0 1500 207.250.84 207.250.84.2 98874 0 15603056 101223 0 41452333 427 224.0.0.1 ed0 1500 207.250.84.44 207.250.84.44 98874 0 15603056 101223 0 41452333 427 ed0 1500 207.250.84.45 207.250.84.45 98874 0 15603056 101223 0 41452333 427 ed0 1500 207.250.84.51 207.250.84.51 98874 0 15603056 101223 0 41452333 427 ed0 1500 207.250.84.53 207.250.84.53 98874 0 15603056 101223 0 41452333 427 ed0 1500 207.250.84.54 207.250.84.54 98874 0 15603056 101223 0 41452333 427 ed0 1500 207.250.84.55 207.250.84.55 98874 0 15603056 101223 0 41452333 427 ed0 1500 207.250.84.52 207.250.84.52 98874 0 15603056 101223 0 41452333 427 ed0 1500 207.250.84.56 207.250.84.56 98874 0 15603056 101223 0 41452333 427 ed0 1500 207.250.84.57 207.250.84.57 98874 0 15603056 101223 0 41452333 427 ed0 1500 207.250.84.58 207.250.84.58 98874 0 15603056 101223 0 41452333 427 Thanks, Adam At 08:18 AM 7/9/97 +1000, you wrote: > >On Tue, 8 Jul 1997, Peter Hawkins wrote: > >> If you don't use ipfw, netstat -nr will tell you the traffic and you could >> invoke it from ip-down > >netstat -nr only tells you the packets. You would want to use >'netstat -abin' to list all interfaces numerically with bytes. > >Danny > >