Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jul 1997 17:56:13 -0500
From:      NetSonic <support@netsonic.com>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: per-user IP accounting
Message-ID:  <3.0.32.19970708175611.00e9bfbc@mail.netsonic.com>

next in thread | raw e-mail | index | archive | help

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  <Link>      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
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19970708175611.00e9bfbc>