[TriLUG] Reset conuters on eth interface

Mike Mueller mjm-58 at mindspring.com
Tue Sep 10 09:53:41 EDT 2002


On Tuesday 10 September 2002 08:32, Jeff Bollinger wrote:
> Does anyone know how to reset the counters on a particular ethernet
> interface?  For example,
>
> ifconfig eth1
> eth1      Link encap:Ethernet  HWaddr 00:04:75:B0:07:14
>            BROADCAST MULTICAST  MTU:1500  Metric:1
>            RX packets:7664356 errors:0 dropped:0 overruns:1 frame:0
>            TX packets:6424 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:100
>            RX bytes:1089057890 (1038.6 Mb)  TX bytes:405296 (395.7 Kb)
>            Interrupt:9 Base address:0x7880
>
> How can I zero out the "RX bytes" and the "TX bytes" portions above?

Stop/start the driver or reboot.
>
> Thanks,
> Jeff

-- 
mueller, mike

The larger purpose of the economic order, including Wall Street, is to 
support the material conditions for human existence, not to undermine and 
destabilize them.

-Editorial, The Nation, August 19, 2002



More information about the TriLUG mailing list