* Also collect dmesg snapshot.

This commit is contained in:
Wirawan Purwanto
2016-09-20 17:46:50 -04:00
parent 879927f16e
commit ebdc93e80f

View File

@@ -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 "{" + ", ".