Bug 479820 - Inclusion of ethernet driver statistics in sos
Summary: Inclusion of ethernet driver statistics in sos
Keywords:
Status: CLOSED DUPLICATE of bug 469820
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Adam Stokes
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-13 11:58 UTC by Vimal Kumar
Modified: 2009-05-19 13:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-19 13:36:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
edited sosplugin 'networking.py' (3.49 KB, application/octet-stream)
2009-01-13 11:58 UTC, Vimal Kumar
no flags Details

Description Vimal Kumar 2009-01-13 11:58:48 UTC
Created attachment 328860 [details]
edited sosplugin 'networking.py'

Description of problem:

It would be better if the sosreport collects information on the ethernet driver like version, firmware and businfo along with the network/driver statistics for the device. An inclusion of the commands 'ethtool -i' and 'ethtool -S' for the ethernet devices on the machine will not change the sosreport size considerably and also does not need any major changes in the networking plugin for sos.

The edited networking.py plugin will have the following changes :

<snip>

# diff -Naur /usr/lib/python2.4/site-packages/sos/plugins/networking.py /usr/lib/python2.4/site-packages/sos/plugins/networking.py.ORIG
--- /usr/lib/python2.4/site-packages/sos/plugins/networking.py  2009-01-13 16:49:57.000000000 +0530
+++ /usr/lib/python2.4/site-packages/sos/plugins/networking.py.ORIG     2007-08-14 22:31:29.000000000 +0530
@@ -73,8 +73,6 @@
         if ifconfigFile:
             for eth in self.get_interface_name(ifconfigFile):
                 self.collectExtOutput("/sbin/ethtool "+eth)
-                self.collectExtOutput("/sbin/ethtool -i "+eth)
-                self.collectExtOutput("/sbin/ethtool -S "+eth)
         if self.isOptionEnabled("traceroute"):
             self.collectExtOutput("/bin/traceroute -n rhn.redhat.com")

</snip>

Comment 2 Adam Stokes 2009-05-19 13:36:51 UTC

*** This bug has been marked as a duplicate of bug 469820 ***


Note You need to log in before you can comment on or make changes to this bug.