Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2009 01:53:58 +0200
From:      Artis Caune <artis.caune@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   [patch] truncated fields in netstat
Message-ID:  <9e20d71e0912021553p104b4370nb34085257ba6119d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e20d71e0912021553p104b4370nb34085257ba6119d>