aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Desrochers <eric.desrochers@canonical.com>2020-02-12 11:54:45 -0500
committerBryan Quigley <bryan.quigley@canonical.com>2020-02-12 16:39:34 -0800
commit3657bcbbc41be60c9f12c8391057b72ae053bd95 (patch)
tree801f97c19c6cc2b76ba8551a95da57abbf8aee98
parent31140bdbebf1b5589199fa58d8f6833cf31a05dd (diff)
downloadsos-3657bcbbc41be60c9f12c8391057b72ae053bd95.tar.gz
[kdump] Show current parameters and the saved kexec from last kdump-config load.
This command can be used to confirm that kdump is correctly configured. Resolves: #1941 Signed-off-by: Eric Desrochers <eric.desrochers@canonical.com> Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
-rw-r--r--sos/plugins/kdump.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/kdump.py b/sos/plugins/kdump.py
index feb222f1..787d308c 100644
--- a/sos/plugins/kdump.py
+++ b/sos/plugins/kdump.py
@@ -85,6 +85,8 @@ class DebianKDump(KDump, DebianPlugin, UbuntuPlugin):
if os.path.exists(initramfs_img):
self.add_cmd_output("lsinitrd %s" % initramfs_img)
+ self.add_cmd_output("kdump-config show")
+
self.add_copy_spec([
"/etc/default/kdump-tools"
])