* SGE: Added qconf dump tools.

Added from my hpc-explore/sge tools from late 2015 time frame.
This commit is contained in:
Wirawan Purwanto
2016-08-26 10:00:46 -04:00
parent 79e5b77df2
commit f1327c9562
5 changed files with 84 additions and 0 deletions

17
sge/conf/dump_project_info.sh Executable file
View File

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