[mrtg] Re: Fw: Getting byte counts for eth0 interface

Baksa Zsolt otthon at emg.hu
Sat Dec 25 19:17:17 MET 1999


> This is RedHat kernel 2.2.5-15.  If I do a ifconfig eth0, I get:
>
>eth0      Link encap:Ethernet  HWaddr 00:10:4B:9C:CB:30
>          inet addr:192.52.183.233  Bcast:192.52.183.255
Mask:255.255.255.224
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:19636369 errors:440 dropped:0 overruns:0 frame:880
>          TX packets:23189142 errors:0 dropped:0 overruns:0 carrier:7
>          collisions:744862 txqueuelen:100
>          Interrupt:12 Base address:0xd800


That is great, try :
cat /proc/net/dev

The point is that even if you have defined a device eth0:1
the command above would give the same result.:-((

ZsoZso


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list