|
|
@ -223,6 +223,14 @@ def gather_dmesg(hosts=None): |
|
|
|
"""Gather tool: for dmesg""" |
|
|
|
"""Gather tool: for dmesg""" |
|
|
|
rhosts_pipe_out(("dmesg",), "dmesg.txt", hosts=hosts) |
|
|
|
rhosts_pipe_out(("dmesg",), "dmesg.txt", hosts=hosts) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def gather_mount(hosts=None): |
|
|
|
|
|
|
|
"""Gather tool: for mount points""" |
|
|
|
|
|
|
|
rhosts_pipe_out(("mount",), "mount.txt", hosts=hosts) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def gather_df(hosts=None): |
|
|
|
|
|
|
|
"""Gather tool: for disk free""" |
|
|
|
|
|
|
|
rhosts_pipe_out(("df",), "df.txt", hosts=hosts) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#def dict_str_sorted(d): |
|
|
|
#def dict_str_sorted(d): |
|
|
|
# return "{" + ", ". |
|
|
|
# return "{" + ", ". |
|
|
|