You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
244 B
18 lines
244 B
8 years ago
|
#!/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
|