Added from my hpc-explore/sge tools from late 2015 time frame.master
parent
79e5b77df2
commit
f1327c9562
5 changed files with 84 additions and 0 deletions
@ -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…
Reference in new issue