Re: ifconfig

Donald Becker <[email protected]>
Newsgroups gmane.linux.drivers.eepro100.devel
Message-ID <Pine.LNX.4.33.0206071526060.3463-100000@presario>
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				[email protected]
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.