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.
--
Dmitry Banshchikov
patch-netstat
Description: Binary data
_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

