[CentOS] Info about the NIC

Wed Mar 19 09:23:54 UTC 2008
Anne Wilson <cannewilson at googlemail.com>

On Wednesday 19 March 2008 08:37:21 Tronn Wærdahl wrote:
> If you do a ifconfig eth0 you get some info about the eth0 nic
>
> eth0    Link encap:Ethernet  HWaddr 00:02:B3:63:EF:43
>           inet addr:x.x.x.x Bcast:x.x.x.x  Mask:x.x.x.x
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1166 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:268 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:104255 (101.8 Kb)  TX bytes:19936 (19.4 Kb)
>           Interrupt:5 Base address:0x2000
>
>
> I wounder about RX bytes and TX bytes, what does it mean, how does it
> collect its data

RX= received, TX = transmitted.

> How often does it zero the counters, every boot, hour or somethings else?.
> Is the information reliable
>
As far as I know, it zeros on boot.  And yes, it is reliable.  
However, 'transmitted' will include checksums etc., so won't match exactly to 
a file length.  Not an expert explanation, but adequate, I think :-)

Anne

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20080319/9807b5f6/attachment-0005.sig>