Reset Byte Count?

Reset Byte Count?

am 04.10.2004 07:56:03 von Paul

Hello list,

Is it possible to reset the byte counters that are displayed from
ifconfig or in the /proc/net/dev file? I'm hoping there is a way to do
it without taking the device down. In particular I'm looking to reset
eth0 and eth1 traffic at a specific interval.

Thanks in advance,

-Paul


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Reset Byte Count?

am 04.10.2004 13:48:31 von terry white

.... ciao:

: on "10-4-2004" "Paul" writ:
: Is it possible to reset the byte counters

would 'iptables -Z' work ...


--
.... i'm a man, but i can change,
if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Reset Byte Count?

am 04.10.2004 21:36:36 von Paul

Nope. Tried that, but if it's possible I'd hope it wouldn't require
iptables...

Any other ideas for resetting the byte coutners in /proc/net/dev (ifconfig)

-Paul


terry white wrote:

>... ciao:
>
>: on "10-4-2004" "Paul" writ:
>: Is it possible to reset the byte counters
>
> would 'iptables -Z' work ...
>
>
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html