Chris Nelson
2006-07-20 20:04:11 UTC
Looking at pppstats/ppstats.h and include/linux/if_ppp.h in the pppd
distribution I don't see anyway to clear the packet and byte counters
for the link. What I find is that every time I connect, the packets
and bytes sent get added to the previous value of the counters. If I
want the packets sent or received since the link was last established,
how do I do that (other than by caching the first value I retrieve and
subtracting from every subsequent value).
Chris
distribution I don't see anyway to clear the packet and byte counters
for the link. What I find is that every time I connect, the packets
and bytes sent get added to the previous value of the counters. If I
want the packets sent or received since the link was last established,
how do I do that (other than by caching the first value I retrieve and
subtracting from every subsequent value).
Chris