Toni Mueller writes:
> I'd like to be able to clear the counters of interfaces, similar to
> "clear counters" in Cisco lingo.
If you read your statistics off pf labels, they're really easy to
reset without disturbing anything else - in fact people do traffic
accounting on periodic data where pfc
On Thu, Apr 01, 2010 at 07:42:05PM +0200, Toni Mueller wrote:
> Hi,
>
> I'd like to be able to clear the counters of interfaces, similar to
> "clear counters" in Cisco lingo.
>
This is only possible if we start to have shadow counters since the
counters for SNMP and friends should not be cleared
On Thu, Apr 01, 2010 at 07:42:05PM +0200, Toni Mueller wrote:
> Hi,
>
> I'd like to be able to clear the counters of interfaces, similar to
> "clear counters" in Cisco lingo.
1) $EDITOR src/sys/net/if.c
2) Find the "ioctl" function, and start reading.
3) Thrill to the lulz of /* XXX hell this is
Hi,
I'd like to be able to clear the counters of interfaces, similar to
"clear counters" in Cisco lingo.
TIA!
Kind regards,
--Toni++
4 matches
Mail list logo