Subject: Re: netstat -i in /etc/daily
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: None <itojun@iijlab.net>
List: tech-userlevel
Date: 01/17/2000 23:18:42
>> 	the latter is easy: netstat -ivn -f inet6.  we don't have "all
>> 	families except x" option so the former is harder (we don't want
>> 	to iterate families available to us...)
>would some 'grep -v inet6' be possible? (I don't have an ipv6 output here
>right now...)

	there's no clear indication about which line belongs which af.

itojun


Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs Colls
sm1   1500  <Link>        00:00:86:05:80:fa     2358     0     2581     0    38
sm1   1500  fe80:1::200:86ff:fe05:80fa/64 fe80:1::200:86ff:fe05:80fa     2358     0     2581     0    38
sm1   1500  202.232.15.96 202.232.15.108        2358     0     2581     0    38
sm1   1500  3ffe:507:0:1:200:86ff:fe05:80fa/64 3ffe:507:0:1:200:86ff:fe05:80fa     2358     0     2581     0    38
lo0   32976 <Link>                                96     0       96     0     0
lo0   32976 fe80:2::1/64  fe80:2::1               96     0       96     0     0
lo0   32976 ::1/128       ::1                     96     0       96     0     0
lo0   32976 127           127.0.0.1               96     0       96     0     0
lo1*  32976 <Link>                                 0     0        0     0     0