[Top] [All Lists]

Re: [PATCH 2.6] generic network statistics (was Re: [6/6]: jenkins hash

To: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
Subject: Re: [PATCH 2.6] generic network statistics (was Re: [6/6]: jenkins hash for neigh / Statistics)
From: Harald Welte <laforge@xxxxxxxxxxxx>
Date: Tue, 28 Sep 2004 18:24:31 +0200
Cc: Stephen Hemminger <shemminger@xxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, herbert@xxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <16729.32927.352234.634227@xxxxxxxxxxxx>
References: <20040925005623.2faf8faf.davem@xxxxxxxxxxxxx> <E1CBu70-00010X-00@xxxxxxxxxxxxxxxxxxxxxxxx> <20040927121403.767e2308.davem@xxxxxxxxxxxxx> <20040927222613.GE3236@xxxxxxxxxxxxxxxxxxxxxxx> <20040927160636.7741d973.davem@xxxxxxxxxxxxx> <1096327658.1729.19.camel@xxxxxxxxxxxxxxxxxxxxx> <16729.9326.93269.422940@xxxxxxxxxxxx> <20040928111906.GB29961@xxxxxxxxxxxxxxxxxxxxxxx> <20040928145505.GH29961@xxxxxxxxxxxxxxxxxxxxxxx> <16729.32927.352234.634227@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040818i
On Tue, Sep 28, 2004 at 05:17:51PM +0200, Robert Olsson wrote:
> Harald Welte writes:
>  > Here goes some initial client code, so you can actually test the new
>  > proc files from kernel.
>  > 
>  > As stated above, I'll continue working on this until it's somewhat
>  > more feature-complete.
>  OK! Seems pretty generic, maybe the stats info for headers could be read 
>  from current kernels /proc? to keep kernel stats in sync with this user app?

that's what it intends to do.  The field names are all stored in
'', so it is easy to build that line.  However, it has
to be multiple-line, since the field names from the kernel are sometimes
quite long...

The only difference is that it won't show you "IN: hits" but rather
"in_hits" which I think we can safely ignore.

>  Cheers.
>                                               --ro

- Harald Welte <laforge@xxxxxxxxxxxx>     
Programming is like sex: One mistake and you have to support it your lifetime

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>