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