From 7146472eb85bb4ea39a244ca252e66478b3e30dd Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Wed, 12 Mar 2014 13:02:39 +0000 Subject: 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 --- sos/plugins/systemd.py | 5 +++-- 1 file 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") -- cgit