* SGE: Added qconf dump tools.

Added from my hpc-explore/sge tools from late 2015 time frame.
master
Wirawan Purwanto 8 years ago
parent 79e5b77df2
commit f1327c9562
  1. 18
      sge/conf/dump_host_info.sh
  2. 16
      sge/conf/dump_pe_info.sh
  3. 17
      sge/conf/dump_project_info.sh
  4. 17
      sge/conf/dump_queue_info.sh
  5. 16
      sge/conf/dump_rqs_info.sh

@ -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

@ -0,0 +1,16 @@
#!/bin/bash
mkdir -p pe-config
PES=$(qconf -spl)
echo "Parallel-environments:"
qconf -spl
echo ""
for P in $PES; do
qconf -sp $P > pe-config/$P.txt
echo "$P::"
cat pe-config/$P.txt
echo
done

@ -0,0 +1,17 @@
#!/bin/bash
mkdir -p project-config
QUEUES=$(qconf -sprjl)
echo "Queues:"
qconf -sprjl
echo ""
for Q in $QUEUES; do
#if [ "$Q" = all.q ]; then continue; fi
qconf -sprj $Q > project-config/$Q.txt
echo "$Q::"
cat project-config/$Q.txt
echo
done

@ -0,0 +1,17 @@
#!/bin/bash
mkdir -p queue-config
QUEUES=$(qconf -sql)
echo "Queues:"
qconf -sql
echo ""
for Q in $QUEUES; do
if [ "$Q" = all.q ]; then continue; fi
qconf -sq $Q > queue-config/$Q.txt
echo "$Q::"
cat queue-config/$Q.txt
echo
done

@ -0,0 +1,16 @@
#!/bin/bash
mkdir -p rqs-config
RQSS=$(qconf -srqsl)
echo "RQS found:"
qconf -srqsl
echo ""
for P in $RQSS; do
qconf -srqs $P > rqs-config/$P.txt
echo "$P::"
cat rqs-config/$P.txt
echo
done
Loading…
Cancel
Save