Subject: netstat don't show unused interfaces
To: None <current-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 08/04/2001 05:49:38
I was thinking that it would be nice if netstat had an option to not show
network interfaces that don't appear to be being used.

For example, "netstat -inv" shows me stats for ppp0, sl0, strip0, tun0,
gre0, ipip0, gif0 and more. (Sixteen lines of zeros for me.)

Maybe, /etc/daily should have:

 netstat -inv  | egrep -v '*0 *0 *0 *0 *0'

But maybe not, because then you may not get a report on an interface you
wanted.

What is the normal may with dealing with this? (Don't have the interfaces
configured in the first place?)

Any other comments?

   Jeremy C. Reed
   http://www.reedmedia.net/