aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-03-12 13:02:39 +0000
committerBryn M. Reeves <bmr@redhat.com>2014-03-12 13:02:39 +0000
commit7146472eb85bb4ea39a244ca252e66478b3e30dd (patch)
tree0f46da40ba5091f9420338a5d5a47486c65a49d3
parentc7a54c4c5b1e6e0596429e22084658ce935d7283 (diff)
downloadsos-7146472eb85bb4ea39a244ca252e66478b3e30dd.tar.gz
Update systemd support
- Drop support for 'systemctl dump' as this no longer exists. - Add 'systemctl list-units' for convenience - add systemctl show-environment Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/systemd.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/systemd.py b/sos/plugins/systemd.py
index 915c8fcf..38be63e6 100644
--- a/sos/plugins/systemd.py
+++ b/sos/plugins/systemd.py
@@ -27,10 +27,11 @@ class Systemd(Plugin, RedHatPlugin):
def setup(self):
self.add_cmd_output("systemctl show --all")
+ self.add_cmd_output("systemctl list-units")
self.add_cmd_output("systemctl list-units --failed")
- self.add_cmd_output("systemctl list-unit-files")
self.add_cmd_output("systemctl list-units --all")
- self.add_cmd_output("systemctl dump")
+ self.add_cmd_output("systemctl list-unit-files")
+ self.add_cmd_output("systemctl show-environment")
self.add_cmd_output("systemd-delta")
self.add_cmd_output("journalctl --verify")
self.add_cmd_output("journalctl --all --this-boot --no-pager")