Customizing bqueues

Many of you have noticed the increasing number of queues. This can be confusing when you just want to check the current status of the queues you're allowed to use. But there is an easy way to change this. You can tell bqueues to show just "your" queues by calling it using

bqueues -u $USER

If you want bqueues to always show your queues only, you can just add an alias to your .bashrc (found in your home-directory). Here, is a simple command to add it to your .bashrc-file:

echo '# Customizing bqueues to show only your queues'  >> ~/.bashrc
echo 'alias bqueues="\bqueues -u $USER"' >> ~/.bashrc

Now, either you call

source ~/.bashrc

Or you wait until your next login to Mogon and the changes will be active.

Remark:
If you want to see all queues again, you have to call unalias bqueues . Then bqueues is back to "normal" for the current shell.

Your HPC Team

Veröffentlicht am | Veröffentlicht in TipsnTricks