* SGE: Added qconf dump tools.
Added from my hpc-explore/sge tools from late 2015 time frame.
This commit is contained in:
18
sge/conf/dump_host_info.sh
Executable file
18
sge/conf/dump_host_info.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user