aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2015-07-07 13:03:14 +0200
committerBryn M. Reeves <bmr@redhat.com>2015-07-07 14:58:52 +0100
commit5204d62fdb362fb5cc4a897c90faa9539715fc74 (patch)
treebf6459fe640924f9d72ca32d7306ff165b8a6b5e
parentb502b9f51b4d314ed6fa76d66a6db8aea7d32c12 (diff)
downloadsos-5204d62fdb362fb5cc4a897c90faa9539715fc74.tar.gz
[services] add "ls /var/lock/subsys"
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/services.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/plugins/services.py b/sos/plugins/services.py
index 606a1351..ab9f8ce9 100644
--- a/sos/plugins/services.py
+++ b/sos/plugins/services.py
@@ -32,7 +32,10 @@ class Services(Plugin):
])
if self.get_option('servicestatus'):
self.add_cmd_output("/sbin/service --status-all")
- self.add_cmd_output("/sbin/runlevel")
+ self.add_cmd_output([
+ "/sbin/runlevel",
+ "ls /var/lock/subsys"
+ ])
class RedHatServices(Services, RedHatPlugin):