From ebdc93e80f4d648c4307f519bed2cf698b640f45 Mon Sep 17 00:00:00 2001 From: Wirawan Purwanto Date: Tue, 20 Sep 2016 17:46:50 -0400 Subject: [PATCH] * Also collect dmesg snapshot. --- sge/dump-cluster-info.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sge/dump-cluster-info.py b/sge/dump-cluster-info.py index dc243de..e644926 100755 --- a/sge/dump-cluster-info.py +++ b/sge/dump-cluster-info.py @@ -219,6 +219,10 @@ def gather_uname_a(hosts=None): """Gather tool: for free""" rhosts_pipe_out(("uname", "-a"), "uname-a.txt", hosts=hosts) +def gather_dmesg(hosts=None): + """Gather tool: for dmesg""" + rhosts_pipe_out(("dmesg",), "dmesg.txt", hosts=hosts) + #def dict_str_sorted(d): # return "{" + ", ".