diff options
-rw-r--r-- | sos/plugins/zfs.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sos/plugins/zfs.py b/sos/plugins/zfs.py index 5a406ffb..143087cf 100644 --- a/sos/plugins/zfs.py +++ b/sos/plugins/zfs.py @@ -33,4 +33,10 @@ class Zfs(Plugin, UbuntuPlugin, DebianPlugin): "zpool status -x" ]) + zpools = self.call_ext_prog("zpool list -H -o name") + if zpools['status'] == 0: + zpools_list = zpools['output'].splitlines() + for zpool in zpools_list: + self.add_cmd_output("zpool get all %s" % zpool) + # vim: set et ts=4 sw=4 : |