Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 1998 12:01:18 -0500 (EST)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        black@bleep.ishiboo.com
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: interface byte count insanity
Message-ID:  <Pine.BSF.3.96.980325115519.10695H-100000@sasami.jurai.net>
In-Reply-To: <19980325112144.20157.qmail@bleep.ishiboo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Mar 1998 black@bleep.ishiboo.com wrote:
> de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980325115519.10695H-100000>