Re: [PATCH] net: add ability to clear stats via ethtool - e1000/pcnet32

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bill Fink
Date: Monday, June 2, 2008 - 8:41 am

On Sun, 01 Jun 2008, David Miller wrote:


The typical case I was referring to is for example when I am assisting
someone else with troubleshooting.  This is coordinated with the system
admin, who would usually be the one to clear/snapshot the stats.  This
cannot be done by a normal user as it requires root privileges.  BTW
I'm also not clear why running "ethtool -S" requires root privileges,
as it would be more convenient if a normal user could do this (currently
I have to be given sudo access).

This is a useful mechanism for many, many people.  Bottom line I don't
really care if it's done in the kernel or in user space, but it should
be possible using the standard "ethtool -S" command, and I have raised
at least a couple of issues with modifying the ethtool command to
support this (but which wouldn't be an issue if implemented in the
kernel).

						-Bill
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] net: add ability to clear stats via ethtool - ..., James Cammarata, (Thu May 29, 10:15 am)
Re: [PATCH] net: add ability to clear stats via ethtool - ..., Stephen Hemminger, (Fri May 30, 7:41 pm)
Re: [PATCH] net: add ability to clear stats via ethtool - ..., Bill Fink, (Mon Jun 2, 8:41 am)