SLURM Commands

From UFRC
Revision as of 17:40, 25 May 2016 by Magitz (talk | contribs) (Created page with "Category:SLURM {{HPG2}} =SLURM Commands= While there is a lot of documentation available on the [http://slurm.schedmd.com/slurm.html SLURM web page], we provide these co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hpg2 wiki logo.png

HiPerGator 2.0 documentation

SLURM Commands

While there is a lot of documentation available on the SLURM web page, we provide these commands to help users with examples and handy references. Have a favorite SLURM command? Users can edit the wiki pages, please add your examples.

Checking on the queue

The basic command is squeue. The full documentation for squeue is available on the SLURM web page, but we hope these examples are useful as they are and as templates for further customization.

For a list of jobs running under a particular group, use the -A flag (for Account) with the group name.

squeue -A group_name

For a summary that is similar to the MOAB/Torque showq command (again, -u user or -A group can be added):

squeue -o "%.10A %.18u %.4t %.8C %.20L %.30S"

To include qos and limit to a group:

squeue -A group_name -O jobarrayid,qos,name,username,timelimit,numcpus,reasonlist