diff options
-rw-r--r-- | sos/plugins/scsi.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/plugins/scsi.py b/sos/plugins/scsi.py index d3b2c332..3be613c6 100644 --- a/sos/plugins/scsi.py +++ b/sos/plugins/scsi.py @@ -6,6 +6,8 @@ # # See the LICENSE file in the source distribution for further information. +import os +from glob import glob from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin @@ -32,4 +34,7 @@ class Scsi(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): "sg_map -x" ]) + scsi_hosts = glob("/sys/class/scsi_host/*") + self.add_udev_info(scsi_hosts, attrs=True) + # vim: set et ts=4 sw=4 : |