From: Christoph Hellwig <hch@infradead.org>
To: James Morris <jmorris@namei.org>, Tim.Cook@sun.com
Cc: netdev@vger.kernel.org
Subject: Re: nicstat
Date: Sat, 14 Jul 2007 14:43:55 +0100 [thread overview]
Message-ID: <20070714134355.GA11022@infradead.org> (raw)
In-Reply-To: <Line.LNX.4.64.0707140927290.25256@d.namei>
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
prev parent reply other threads:[~2007-07-14 13:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-14 13:28 nicstat James Morris
2007-07-14 13:43 ` Christoph Hellwig [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070714134355.GA11022@infradead.org \
--to=hch@infradead.org \
--cc=Tim.Cook@sun.com \
--cc=jmorris@namei.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.