[eepro100] ifconfig

Donald Becker becker@scyld.com
Fri Jun 7 15:51:00 2002


On Thu, 6 Jun 2002, Steve Keith wrote:

> I'm running a Tyan Tiger 200T motherboard with dual Intel 82559
> controllers.  I am currently using only one of them.  I periodically
> (a few times a day) check the status of the eth0 interface with
> ifconfig.

You should use 'cat /proc/net/dev' to see all of the raw numbers.  The
'ifconfig' program summarizes or ignores some of the error counts.

> Do the values reported by ifconfig for RX and TX bytes ever reset themselves?

The values are never reset.  They start at zero when the driver is
initialized, and wrap around at 2^32 (on 32 bit machines).

The is the correct and desired behavior.
Many programs, expecially SNMP reporting, expect monotonically
increasing, wrapping values.


-- 
Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993