[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070714134355.GA11022@infradead.org>
Date: Sat, 14 Jul 2007 14:43:55 +0100
From: Christoph Hellwig <hch@...radead.org>
To: James Morris <jmorris@...ei.org>, Tim.Cook@....com
Cc: netdev@...r.kernel.org
Subject: Re: nicstat
On Sat, Jul 14, 2007 at 09:28:50AM -0400, James Morris wrote:
> This might be of interest (there's a Linux version):
>
> http://blogs.sun.com/timc/entry/nicstat_the_solaris_network_monitoring
The code has a comment:
* CAVEATS
* It appears there is no way to determine the speed of an interface
* in Linux, so the %Util numbers are bogus at present.
Which is not true. This is easily retriviable through ethtool for any
driver supporting it.
Aso I'm a bit surprised that a
"extern int errno;"
still works with a modern libc, folks please always include errno.h instead.
Same for the opt* variables for getopt, please always get them through
unistd.h
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists