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/19/2000 23:20:48
>how about this as a hack:
>
>smaug% cat x | awk '{ if ( $4 !~ /:/ || $3 ~ /Link/ ) print ; }'
>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  202.232.15.96 202.232.15.108        2358     0     2581     0 38
>lo0   32976 <Link>                                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

	doesn't
		awk '{ (if $3 !~ /:/) print; };
	do the right thing?

	the above example assumes that we have "-in" in command line,
	and is not true at this moment ("-i").  is it okay if I add "-n"?
	I believe "-n" is better for diagnosis, and for no reverse query delays.

itojun