[3099] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Persistent SLIP statistics

daemon@ATHENA.MIT.EDU (Matthias Urlichs)
Tue Jun 4 04:06:23 1996

From: Matthias Urlichs <smurf@smurf.noris.de>
To: linux-net@vger.rutgers.edu
Date: 	Tue, 4 Jun 1996 05:04:59 +0100

In linux.dev.net, article <9605291552.AA15282@rsphy6.anu.edu.au>,
  Paul Gortmaker <gpg109@rsphy6.anu.edu.au> writes:
> 
> Valid point -- the mapping of sl0 -> slN to various serial ports can
> also vary depending on the order of usage, and thus the stats are not
> necessarily bound to any one serial port. So I guess clearing the stats
> for each up/down is actually the Right Thing To Do in this case.
> 
How about clearing the stats for each _up_ event, but leave them alone for
the _down_ event?

That way, you can still collect the data when the interface goes down, yet
there counters get cleared when a connection starts.

If you need persistent statistics, use an accounting firewall, I'd say.

-- 
I'm as pure as the driven slush.
                -- Tallulah Bankhead
-- 
Matthias Urlichs


home help back first fref pref prev next nref lref last post