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