aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbainbri <jbainbri@redhat.com>2015-07-24 11:28:52 +1000
committerAdam Stokes <adam.stokes@ubuntu.com>2015-09-29 20:20:54 -0400
commit237d81696eff1a582686c80045e54db5b177d6ab (patch)
treeedaf35032d564b90b29b4e0599e41e78e1e331e0
parent131f2ab9dc5a45fb74e1a0fb30c9819c4c9f9ffe (diff)
downloadsos-237d81696eff1a582686c80045e54db5b177d6ab.tar.gz
[systemd] Collect timedatectl for timezone
There is currently no way to see the system timezone in text format on a systemd system (eg: "America/New_York"). timedatectl provides this. Closes #611 Signed-off-by: Jamie Bainbridge <jbainbri at redhat dot com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/systemd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/systemd.py b/sos/plugins/systemd.py
index 92a0b903..68d5079a 100644
--- a/sos/plugins/systemd.py
+++ b/sos/plugins/systemd.py
@@ -40,7 +40,8 @@ class Systemd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"ls -l /lib/systemd",
"ls -l /lib/systemd/system-shutdown",
"ls -l /lib/systemd/system-generators",
- "ls -l /lib/systemd/user-generators"
+ "ls -l /lib/systemd/user-generators",
+ "timedatectl"
])
if self.get_option("verify"):