From cabacb58cb8ce574f710f8422b49a2bd41a238b8 Mon Sep 17 00:00:00 2001 From: Wirawan Purwanto Date: Mon, 26 Sep 2016 13:04:30 -0400 Subject: [PATCH] * Also added dump for mount points and disk free for compute nodes. --- sge/dump-cluster-info.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sge/dump-cluster-info.py b/sge/dump-cluster-info.py index e644926..9456523 100755 --- a/sge/dump-cluster-info.py +++ b/sge/dump-cluster-info.py @@ -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 "{" + ", ".