diff options
-rw-r--r-- | sos/plugins/s390.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sos/plugins/s390.py b/sos/plugins/s390.py index 7254649d..ed9546b1 100644 --- a/sos/plugins/s390.py +++ b/sos/plugins/s390.py @@ -58,14 +58,10 @@ class S390(Plugin, RedHatPlugin): self.add_cmd_output("find /sys -type f") self.add_cmd_output("find /proc/s390dbf -type f") self.add_cmd_output("qethconf list_all") + self.add_cmd_output("lsqeth") + self.add_cmd_output("lszfcp") ret, dasd_dev, rtime = self.call_ext_prog("ls /dev/dasd?") for x in dasd_dev.split('\n'): self.add_cmd_output("dasdview -x -i -j -l -f %s" % (x,)) self.add_cmd_output("fdasd -p %s" % (x,)) - try: - rhelver = self.policy().rhel_version() - if rhelver == 5: - self.add_cmd_output("lsqeth") - self.add_cmd_output("lszfcp") - except: - rhelver = None + |