Subject: Re: bin/21078: patch to allow ifconfig clear interface stats
To: None <netbsd-bugs@netbsd.org, gnats-bugs@gnats.netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 04/09/2003 23:23:43
On Wed, Apr 09, 2003 at 05:19:38PM -0400, Greg A. Woods wrote:
> I think you mean you'd like to see the following option added to netstat
> (just as it exists in some of the other *stat programs):
> 
>      -c count
>              Repeat the display count times.  The first display is for the
>              time since a reboot and each subsequent report is for the time
>              period since the last display.  If no wait interval is specified,
>              the default is 1 second.

Yes, that would be usefull

> 
> > Yes, this is not an usual use,
> > but I know I would have liked it when debugging network problems
> > (cisco can do it, and it *is* usefull).
> 
> Meanwhile you _can_ interrupt the output any time you're ready....  :-)

Not always. But I can redirest it to a file

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--