From owner-freebsd-hackers Wed Mar 25 09:01:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA12891 for freebsd-hackers-outgoing; Wed, 25 Mar 1998 09:01:58 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA12814 for ; Wed, 25 Mar 1998 09:01:27 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id MAA11167; Wed, 25 Mar 1998 12:01:18 -0500 (EST) Date: Wed, 25 Mar 1998 12:01:18 -0500 (EST) From: "Matthew N. Dodd" To: black@bleep.ishiboo.com cc: freebsd-hackers@FreeBSD.ORG Subject: Re: interface byte count insanity In-Reply-To: <19980325112144.20157.qmail@bleep.ishiboo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Mar 1998 black@bleep.ishiboo.com wrote: > de0: flags=8843 mtu 1500 > 82632 packets input, 39371 bytes, 0 drops, 0 errors > 39371 packets output, 2178386 bytes, 154 collisions, 0 errors > inet 172.21.8.239 netmask 0xffffff00 broadcast 172.21.8.255 > ether 00:40:05:41:10:18 > media: autoselect (10baseT/UTP) status: active This is cute, I like it. > would anyone be averse to expanding struct if_data to include more > detailed stats on errors and collision types? It would be useful yes. > would the kernel and ifconfig patches be worth commiting to the tree > (the kernel patch is particularly useful because it allows a modified > netstat to run without being setgid kmem)? I'm not sure if its politically correct but the information is kind of useful. Reminds me of a 'show interface ...' on a cisco. Probably be best to have those stats enabled via an option flag. How about separate counters for each alias too? /* Matthew N. Dodd | A memory retaining a love you had for life winter@jurai.net | As cruel as it seems nothing ever seems to http://www.jurai.net/~winter | go right - FLA M 3.1:53 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message