All of lore.kernel.org
 help / color / mirror / Atom feed
* nicstat
@ 2007-07-14 13:28 James Morris
  2007-07-14 13:43 ` nicstat Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: James Morris @ 2007-07-14 13:28 UTC (permalink / raw)
  To: netdev

This might be of interest (there's a Linux version):

http://blogs.sun.com/timc/entry/nicstat_the_solaris_network_monitoring



-- 
James Morris
<jmorris@namei.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nicstat
  2007-07-14 13:28 nicstat James Morris
@ 2007-07-14 13:43 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2007-07-14 13:43 UTC (permalink / raw)
  To: James Morris, Tim.Cook; +Cc: netdev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-14 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-14 13:28 nicstat James Morris
2007-07-14 13:43 ` nicstat Christoph Hellwig

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.