aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2015-05-31 16:00:16 +0200
committerBryn M. Reeves <bmr@redhat.com>2015-07-07 14:58:19 +0100
commitb502b9f51b4d314ed6fa76d66a6db8aea7d32c12 (patch)
treef6f19b09eaaa4912e4f4a5fe8cbba746abc51700
parent4a57c54216242acb009fdb107d52712decfdfc1e (diff)
downloadsos-b502b9f51b4d314ed6fa76d66a6db8aea7d32c12.tar.gz
[startup] rename plugin to 'services'
The plugin is supposed to collect information about services rather than about their startup. Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-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",