| 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@robur.slu.se> |
| References: | <20040925005623.2faf8faf.davem@davemloft.net> <E1CBu70-00010X-00@gondolin.me.apana.org.au> <20040927121403.767e2308.davem@davemloft.net> <20040927222613.GE3236@sunbeam.de.gnumonks.org> <20040927160636.7741d973.davem@davemloft.net> <1096327658.1729.19.camel@localhost.localdomain> <16729.9326.93269.422940@robur.slu.se> <20040928111906.GB29961@sunbeam.de.gnumonks.org> <20040928145505.GH29961@sunbeam.de.gnumonks.org> <16729.32927.352234.634227@robur.slu.se> |
| 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 'lnstat_field.name', 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> http://www.gnumonks.org/ ============================================================================ Programming is like sex: One mistake and you have to support it your lifetime
|
| Previous by Date: | Re: [PATCH] (1/3) tcp - choose congestion algorithm at initialization, Stephen Hemminger |
|---|---|
| Next by Date: | Re: [6/6]: jenkins hash for neigh / Statistics, Stephen Hemminger |
| Previous by Thread: | Re: [PATCH 2.6] generic network statistics (was Re: [6/6]: jenkins hash for neigh / Statistics), Robert Olsson |
| Next by Thread: | Re: [PATCH 2.6] generic network statistics (was Re: [6/6]: jenkins hash for neigh / Statistics), David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |