On Wed, Apr 21, 2010 at 4:01 AM, Dmitry Banschikov wrote:
> Hello,
>
> I wrote small patch to the netstat utility.
> The patch allows to specify how many times, the display output should be
> continue,
> in case of option -w.
> Usage:
> # ./netstat -w2 -c2
> input (Total) output
> packets errs bytes packets errs bytes colls
> 15 0 2268 13 0 1190 0
> 4 0 240 5 0 278 0
> #
>
> Option -c [count] is simillar to the same option in iostat utility.
> In linux -c means continious output:
> -c, --continuous
> This will cause netstat to print the selected information every second
> continuously.
This seems pretty useful, perhaps you should file a PR?
http://www.freebsd.org/send-pr.html
-Brandon
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"