aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-13 19:28:30 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-13 19:28:30 +0000
commit0c9e7777dbe598a6826b8610829170379fad938d (patch)
treee0c7d8231a99490b969f4fd962e5e29f58f2cb22
parent5ac2288861098a60eec18dfea1777236cdc42d32 (diff)
downloadsos-0c9e7777dbe598a6826b8610829170379fad938d.tar.gz
Add output of ntptime to ntp module
-rw-r--r--sos/plugins/ntp.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/plugins/ntp.py b/sos/plugins/ntp.py
index bd9b1a76..c5b64026 100644
--- a/sos/plugins/ntp.py
+++ b/sos/plugins/ntp.py
@@ -17,6 +17,9 @@ from sos.plugins import Plugin, RedHatPlugin
class ntp(Plugin, RedHatPlugin):
"""NTP related information
"""
+
+ packages = ('ntp',)
+
def setup(self):
self.collectExtOutput("/usr/bin/ntpstat")
- self.collectExtOutput("/usr/sbin/ntptrace -n")
+ self.collectExtOutput("/usr/sbin/ntptime")