[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <482DE9EC.3060803@hp.com>
Date: Fri, 16 May 2008 13:09:16 -0700
From: Rick Jones <rick.jones2@...com>
To: David Miller <davem@...emloft.net>
CC: jimi@...x.net, netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH updated] net: add ability to clear per-interface network
statistics via procfs
David Miller wrote:
> From: James Cammarata <jimi@...x.net>
> Date: Fri, 16 May 2008 10:18:14 -0500
>
> We saw your initial patch posting, you don't need to send this
> again.
>
> netdev added to CC:
>
>
>>From: James Cammarata <jimi@...x.net>
>>
>> Added the ability to write to /proc/net/dev in order to clear the
>> interface counters for a given interface. The ability to zero out
>> counters (especially the error counters) is extremely useful when
>> troubleshooting interface issues. Now diffed against 2.6.25.4, and
>> added some sanity checking.
>>
>>Syntax:
>> echo 'net clear-stats ifdev' > /proc/net/dev
>>Where "ifdev" is the device name you wish to clear.
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...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists