[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] virtual ethernet interface counters



Hi

I am looking for patches to kernel or any info on how to add the missing code to
Linux kernel so that the interface packet counters can be used.

eth0:2    Link encap:Ethernet  HWaddr 00:10:E0:03:4D:45
          inet addr:10.44.101.3  Bcast:10.44.101.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0x6200

and now a normal interface

eth1      Link encap:Ethernet  HWaddr 00:10:E0:03:51:24
          inet addr:10.44.255.252  Bcast:10.44.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9578580 errors:41 dropped:0 overruns:0 frame:82
          TX packets:12323985 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x6240


Note that the lines below are missing I know this is because no one has added the code to do this in the kernel. but does any one know of any patches that add this feature.


	RX packets:9578580 errors:41 dropped:0 overruns:0 frame:82
	TX packets:12323985 errors:0 dropped:0 overruns:0 carrier:0

I need it for some SNMP collection of BW stats using MrtG

Thanks Barry