[patch] truncated fields in netstat
Artis Caune
artis.caune at gmail.com
Wed Dec 2 23:54:00 UTC 2009
Hi,
I'm parsing 'netstat -Wnibd' and found that on some boxes interface
names, networks and addresses are truncated. Not just IPV6
addresses/networks, but even ipv4. It's nice to see/graph separate
statistics for each network/aliase attached to the interface.
Here is a patch http://www.nic.lv/sofq/patch-netstat.txt which will:
- add new flag '-H' to print fields in script friendly format (just like zfs -H)
- add this flag to netstat man page
- fix space at the end of collisions/drops fields
- fix few style(9) entries
--
Artis Caune
Everything should be made as simple as possible, but not simpler.
More information about the freebsd-net
mailing list