title: How to see the current user's queue in SLURM
body: <p>On a cluster that is managed by SLURM, I want to check the queue of the current user (and cluster). Normally, I have to use this command:</p>
  
  <pre><code>squeue --user=username --clusters=clustername
  </code></pre>
  
  <p>The problem with this, apart from the fact that this is a rather long command to use frequently, is that it needs the username. I have created a script in which at some point I want to check the queue of the user, but I have to get the username first.</p>
  
  <p>I have a workaround for all these, but it would be great if I could use a command like the respective one for LoadLeveller:</p>
  
  <pre><code>llu
  </code></pre>
  
  <p>Is there anything like that? Or can I somehow specify the "current user" in the <code>--user</code> flag?</p>