lkml.org 
[lkml]   [2008]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH updated] net: add ability to clear per-interface network statistics via procfs
>> We saw your initial patch posting, you don't need to send this
>> again.
>>
>> netdev added to CC:

I had regenerated the diff against .25.4 and made a few changes so I resubmitted.
Sorry if I made it seem like I was spamming the patch.

> I don't wish to suggest I don't like the change - I've used similar
> features on "other oses" in the past, but when something like this has
> come-up in the past, haven't there been concerns about MIBs and SNMP and
> whatnot?
>
> rick jones
> ftp://ftp.cup.hp.com/dist/networking/tools - beforeafter - subtract one
> set of stats from another...

Yes, this would definitely be a caveat, as it could cause problems if the software
takes a baseline once, and calculates differences from that ever after. For others,
it would cause a hiccup where stats show as being negative for one period.

However, I think the benefit of being able to troubleshoot issues on an interface
in a non-invasive manner outweigh the downside here. Like you say, this ability
is already found elsewhere, most namely in network devices like Ciscos, and the
concern for clearing stats there does not exist.


\
 
 \ /
  Last update: 2008-05-17 17:07    [from the cache]
©2003-2011 Jasper Spaans