Files
WP-hpc-tools/sge/conf/dump_host_info.sh
Wirawan Purwanto f1327c9562 * SGE: Added qconf dump tools.
Added from my hpc-explore/sge tools from late 2015 time frame.
2016-08-26 10:00:46 -04:00

19 lines
258 B
Bash
Executable File

#!/bin/bash
mkdir -p host-config
# List of execution hosts
EXECHOSTS=$(qconf -sel)
echo "Exec hosts:"
qconf -sel
echo ""
for H in $EXECHOSTS; do
#H=${H%.cm.cluster}
qconf -se $H > host-config/$H.txt
echo "$H::"
cat host-config/$H.txt
echo
done