netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: Rick Jones <rick.jones2@hp.com>
Cc: Jeff Garzik <jeff@garzik.org>, David Miller <davem@davemloft.net>,
	netdev@vger.kernel.org, Phil Dibowitz <phil@ipom.com>
Subject: Re: reminder, 2.6.18 window...
Date: Thu, 25 May 2006 11:27:32 -0400	[thread overview]
Message-ID: <1148570852.5283.23.camel@jzny2> (raw)
In-Reply-To: <4474C12E.8050600@hp.com>

On Wed, 2006-24-05 at 13:25 -0700, Rick Jones wrote:

> The lanadmin (think ethtool) command of HP-UX has had a way to clear the 
> statistics reported by lanadmin.  I do not know however, if that affects 
> the stats in the actual SNMP interface MIBs as I've never had occasion 
> to look.
> 
> I still suggest beforeafter to people because clearing the lanadmin 
> stats requires root privs and because it may not be a kosher thing to do 
> on a customer system.
> 
> HP-UX does not provide a way to clear the stats reported by netstat.

Which also are snmp stats. 

So far the reasoning of why this is needed has been around debugging
which is in itself reasonable as long as it doesnt break things: it
does. 

For debugging: I can name about 3 ways you can achieve the counting
without touching the driver/hardware level stats. Someone needs to put
effort and create a tool to it.

[ Actually now that i spent 2 minutes looking at the patch i can
understand jgarziks concerns].

On Wed, 2006-24-05 at 16:44 -0400, Brian Haley wrote:

>So how is this different than if an SNMP station probes 
> my system,then 
> I reboot, then they probe again.  Things will seem to have gone 
> backwards, but they deal with that just fine.
> 

Rick has already answered this question i hope. There are triggers that management
tools use to identify reboots.

> DEC/Compaq/HP has allowed this on Tru64 UNIX since 1999 because we had 
> customers that wanted it, noone ever complained about complications with 
> SNMP. 

I am sure if we did things because your customer wanted it, we would approach 
anarchy at best.

>  We did save the last time the stats were zero'd in the struct for 
> posterity, but that was never get-able via SNMP:
> 

Because it is not part of the MIB i would suspect. 

> 
> --> netstat -I tu0 -s
> 
> tu0 Ethernet counters at Wed May 24 16:30:05 2006
> 
>            609415 seconds since last zeroed
>        3943458720 bytes received
>         113576310 bytes sent
> ...
> 
> Maybe saving a "ztime" would make people happier?

It may be insufficient. 
Management tools use the resetting as a trigger to indicate rollover of the 
counters. I dont know if you can go and fix everyone out there to have this
new ztime in mind.

Can you ask internally on how openview would handle this? It carriers the 
major chunk of management tools market so it may provide good insight.

On Wed, 2006-24-05 at 14:04 -0700, Rick Jones wrote: 
> Phil Dibowitz wrote:
> > Well, I can show you support on my home switch (cabletron) - the network guys
> > will be a little unhappy if I clear stats on our production network (cisco)
> > without warning them:
> 
> Isn't that last bit an example of why it might not be good to play-out 
> that rope?-)
> 

I dont mind him hanging himself, he just wants to hang us all ;->

cheers,
jamal


  reply	other threads:[~2006-05-25 15:27 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24  1:22 reminder, 2.6.18 window David Miller
2006-05-24  8:01 ` Phil Dibowitz
2006-05-24 18:21   ` jamal
2006-05-24 18:23   ` Jeff Garzik
2006-05-24 18:34     ` Rick Jones
2006-05-24 18:56     ` Phil Dibowitz
2006-05-24 19:05       ` Jeff Garzik
2006-05-24 19:14         ` Phil Dibowitz
2006-05-24 20:01           ` Brent Cook
2006-05-24 20:08             ` Jeff Garzik
2006-05-25  7:23               ` Bill Fink
2006-05-25 13:05                 ` Brent Cook
2006-05-25 16:12                   ` Bill Fink
2006-05-25 17:59                   ` Phil Dibowitz
2006-05-25 18:41                     ` Brent Cook
2006-05-25 19:22                       ` Phil Dibowitz
2006-05-25 20:29                         ` David Miller
2006-05-25 21:04                           ` Phil Dibowitz
2006-05-25 21:07                             ` David Miller
2006-05-26  9:52                   ` Andi Kleen
2006-05-25 13:34                 ` Dave Dillow
2006-05-26  9:46               ` Andi Kleen
2006-05-24 20:10           ` jamal
2006-05-24 20:25             ` Rick Jones
2006-05-25 15:27               ` jamal [this message]
2006-05-25 16:43                 ` Rick Jones
2006-05-26 22:06                   ` Rick Jones
2006-05-24 20:44             ` Brian Haley
2006-05-24 21:01               ` Rick Jones
2006-05-26  6:48               ` Phil Dibowitz
2006-05-24 20:48             ` Phil Dibowitz
2006-05-24 21:04               ` Rick Jones
2006-05-24 21:10                 ` Ben Greear
2006-05-25  5:01                   ` Phil Dibowitz
2006-05-25  7:18                     ` Ben Greear
2006-05-25  7:55                     ` Bill Fink
2006-05-25 12:17                     ` Francois Romieu
2006-05-25  9:53       ` Pekka Savola
2006-05-24 20:53     ` Andy
2006-05-26  9:43   ` Andi Kleen

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=1148570852.5283.23.camel@jzny2 \
    --to=hadi@cyberus.ca \
    --cc=davem@davemloft.net \
    --cc=jeff@garzik.org \
    --cc=netdev@vger.kernel.org \
    --cc=phil@ipom.com \
    --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).