netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: David Stevens <dlstevens@us.ibm.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	ak@suse.de, Chris Snook <csnook@redhat.com>,
	Linux Network Development list <netdev@vger.kernel.org>,
	Rick Jones <rick.jones2@hp.com>
Subject: Re: a maze of twisty stats, most different
Date: Fri, 29 Jun 2007 21:37:42 +0200	[thread overview]
Message-ID: <20070629193742.GA31569@one.firstfloor.org> (raw)
In-Reply-To: <OFAD87D0AB.C0688B5F-ON88257309.006374DE-88257309.0064D4D0@us.ibm.com>

> That works ok for some things, like new global counters, but some
> items really fit best in existing files and the concern there is about
> other uses of them beyond the standard tools.
>         Examples:
> -addition of route age in /proc/net/route and /proc/net/ipv6_route

Routing information belongs into netlink imho. The /proc setup
for it already only shows a small subset of it. Netlink is easily
extensible -- just add new headers.

> -per-group data in /proc/net/igmp & igmp6

Don't know.  But you can probably just add more fields there,
multicasting is not exactly something that a lot of people care about
so there are likely not many scripts that might get broken.

> -per-interface MLD MIB info, which ought to go with other per-interface 
> data

ethtool ?  It's also extensible, although you have to change
the userland. But I don't think there is a risk of someone's script
breaking.

> 
>         I think everything that uses this kind of interface ought to do
> label matching, so additional columns in a row (anywhere in the row)
> would just be skipped/ignored by things that don't understand them,
> and similarlarly for single-row tagged items. You can do that in scripts
> with awk, but if existing items don't, they'll break.

I would expect shell scripts to generally do netstat -s | ..., which
is easily matchable.


-Andi> 
> 

      reply	other threads:[~2007-06-29 19:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-27 17:20 a maze of twisty stats, most different Rick Jones
2007-06-28 12:47 ` Chris Snook
2007-06-28 17:34   ` Rick Jones
2007-06-28 18:17     ` David Stevens
2007-06-28 20:36       ` David Miller
2007-06-28 21:21         ` Rick Jones
2007-06-29 17:30       ` Andi Kleen
2007-06-29 18:21         ` David Stevens
2007-06-29 19:37           ` Andi Kleen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070629193742.GA31569@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=ak@suse.de \
    --cc=csnook@redhat.com \
    --cc=dlstevens@us.ibm.com \
    --cc=netdev@vger.kernel.org \
    --cc=rick.jones2@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).