aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevinverma <kevinverma@ef72aa8b-4018-0410-8976-d6e080ef94d8>2011-04-01 11:29:05 +0000
committerkevinverma <kevinverma@ef72aa8b-4018-0410-8976-d6e080ef94d8>2011-04-01 11:29:05 +0000
commit0bdf5858d8e817e2573e2f0236b7f81b4b5dc57a (patch)
treeb4eab3ebd16ccafb6c22291fb3a0ab5346a4e3f7
parent67c976fe5fb72fc5dcf5f0896e3881d3936ea0e0 (diff)
downloadsos-0bdf5858d8e817e2573e2f0236b7f81b4b5dc57a.tar.gz
fixed path to lsusb, also added static and also -v output to same file, there is another interesting "-t" option but it seems a difficult animal right now
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1091 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r--sos/plugins/hardware.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/hardware.py b/sos/plugins/hardware.py
index c677edce..f8e5d157 100644
--- a/sos/plugins/hardware.py
+++ b/sos/plugins/hardware.py
@@ -45,7 +45,9 @@ class hardware(sos.plugintools.PluginBase):
if self.policy().getArch().endswith("386"):
self.collectExtOutput("/usr/sbin/x86info -a")
- self.collectExtOutput("/sbin/lsusb")
+# self.collectExtOutput("/usr/sbin/lsusb")
+# self.collectExtOutput(""/bin/echo -e "NAME1:\n" ; /sbin/CMD1 ; /bin/echo -e "\nNAME2:\n" ; /sbin/CMD2"", suggest_filename = "lsusb")
+ self.collectExtOutput("""/bin/echo -e "lsusb:\n" ; /usr/sbin/lsusb ; /bin/echo -e "\nlsusb -v:\n" ; /usr/sbin/lsusb -v""", suggest_filename = "lsusb")
self.collectExtOutput("/usr/bin/lshal")
self.collectExtOutput("/usr/bin/systool -c fc_host -v")
self.collectExtOutput("/usr/bin/systool -c scsi_host -v")