aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/watchdog.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/plugins/watchdog.py b/sos/plugins/watchdog.py
index a3bdef05..43d457b2 100644
--- a/sos/plugins/watchdog.py
+++ b/sos/plugins/watchdog.py
@@ -85,4 +85,8 @@ class Watchdog(Plugin, RedHatPlugin):
self.add_copy_spec(log_files)
+ # Get output of "wdctl <device>" for each /dev/watchdog*
+ for dev in glob('/dev/watchdog*'):
+ self.add_cmd_output("wdctl %s" % dev)
+
# vim: set et ts=4 sw=4 :