diff options
-rw-r--r-- | sos/plugins/services.py (renamed from sos/plugins/startup.py) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sos/plugins/startup.py b/sos/plugins/services.py index 9d923702..606a1351 100644 --- a/sos/plugins/startup.py +++ b/sos/plugins/services.py @@ -15,11 +15,11 @@ from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin -class Startup(Plugin): - """System startup +class Services(Plugin): + """System services """ - plugin_name = "startup" + plugin_name = "services" profiles = ('system', 'boot') option_list = [("servicestatus", "get a status of all running services", @@ -35,17 +35,17 @@ class Startup(Plugin): self.add_cmd_output("/sbin/runlevel") -class RedHatStartup(Startup, RedHatPlugin): +class RedHatServices(Services, RedHatPlugin): def setup(self): - super(RedHatStartup, self).setup() + super(RedHatServices, self).setup() self.add_cmd_output("/sbin/chkconfig --list", root_symlink="chkconfig") -class DebianStartup(Startup, DebianPlugin, UbuntuPlugin): +class DebianServices(Services, DebianPlugin, UbuntuPlugin): def setup(self): - super(DebianStartup, self).setup() + super(DebianServices, self).setup() self.add_copy_spec("/etc/rc*.d") self.add_cmd_output("/sbin/initctl show-config", |