Files
WP-hpc-tools/sge/conf/dump_queue_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

18 lines
244 B
Bash
Executable File

#!/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