logging/counting network CRCs on an interface

Eric Anderson anderson at centtech.com
Wed Jan 7 08:15:51 PST 2004


Darek M wrote:

> Hi guys,
>
> I hope this is the right list to post this to.
>
> I looked around online but could not find much info.  I want to see a 
> count of packets that arrived on an ethernet interface that had CRC 
> errors in them.
>
> From what I understand, the network driver keeps track of the info.  
> The problem is making that info available higher up for a program like 
> ifconfig, or some custom console app.
>
> But if the procedure is much simpler than this, and there's a package 
> already available, I'm all ears.

I thought netstat included them in it's in/out packet errors, but now 
that I check, I'm not certain.  See:

man ifnet
look for "ifi_ierrors"

Somewhat ambiguous as to what it includes..

Eric


-- 
------------------------------------------------------------------
Eric Anderson	   Systems Administrator      Centaur Technology
All generalizations are false, including this one.
------------------------------------------------------------------




More information about the freebsd-isp mailing list