What are Interface errors in netstat?

Ruslan Ermilov ru at freebsd.org
Fri Jun 13 13:56:42 PDT 2003


On Fri, Jun 13, 2003 at 12:49:57PM -0700, Steve Francis wrote:
> Can anyone explain what are interface errors in netstat -I?
> 
> I assume they are CRC, undersize frames, etc.
> Anyway to get details on which errors are occurring?
> 
The interface input/output errors are incremented by the
if_output routines.  These are documented in the ifnet(9)
manpage, as ifi_ierrors and ifi_oerrors, respectively.

> Also, I'm now not sure that is what the error counter means - a box 
> doing about 20k pps normally runs with no reported interface errors - 
> however, when the application crashed, it got a spike of input interface 
> errors.
> 
The nature of these errors is very interface specific,
except for some common types like memory allocation
failure, input/output queue full, etc.

> The application crashing should not have affected MAC layer packets, so 
> do interface errors also include some TCP  layer errors?
> 
No.  TCP layer errors are available thru "netstat -s -p tcp".


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software Ltd,
ru at FreeBSD.org		FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20030613/bf51c50c/attachment.bin


More information about the freebsd-net mailing list