Improving Queues
From UniCluster
Improving qconf Productivity
qconf is a very powerful tool for administering a Grid Engine installation. With a little shell foo, it can become even more powerful.
If you've ever started to type 'qconf -mq ', then realized you don't know the exact name of your queue, this little utility script will definitely be helpful. Once the script is installed, instead of having to issue a 'qconf -sql' command to first find your queue, you can just use the bash autocompletion framework to find the queue.
Download this qconf_completion.sh script, move it to your $SGE_ROOT/util directory, and add the following line to the end of your $SGE_ROOT/$SGE_CELL/common/settings.sh:
. $SGE_ROOT/util/qconf_completion.sh
Now, instead of having to type this sequence:
qconf -mq qconf -mq^H^H qconf -sql qconf -mq thisodd.q
You can just use:
qconf -mq t[TAB]
And you're done!
Back to Administrative How Tos.
