* Also added dump for mount points and disk free for compute nodes.

This commit is contained in:
Wirawan Purwanto
2016-09-26 13:04:30 -04:00
parent b6d22cf68b
commit cabacb58cb

View File

@@ -223,6 +223,14 @@ def gather_dmesg(hosts=None):
"""Gather tool: for dmesg"""
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):
# return "{" + ", ".