* {{cite conference|doi=10.1007/10968987_3|title=SLURM: Simple Linux Utility for Resource Management|conference=Job Scheduling Strategies for Parallel Processing|series=Lecture Notes in Computer Science|year=2003|last1=Yoo|first1=Andy B.|last2=Jette|first2=Morris A.|last3=Grondona|first3=Mark|isbn=978-3-540-20405-3|volume=2862|page=[https://archive.org/details/jobschedulingstr0000jssp_q2o1/page/44 44]|citeseerx=10.1.1.10.6834|url-access=registration|url=https://archive.org/details/jobschedulingstr0000jssp_q2o1/page/44}}
{{Div col end}}
==Slurm Commands==
The following is a list of useful commands available for Slurm. Some of these were built by CCR to allow easier reporting for users.
For usage information for these commands, use {{code|--help}} (example: {{code|sinfo --help}}).
Use the Linux command {{code|man}} for more information about most of these commands (example: {{code|man sinfo}}).
Italicized font on the commands below indicates user supplied information. Brackets indicate optional flags.
{| class="wikitable"
|-
! List Slurm commands !! slurmhelp
|-
| View information about Slurm nodes & partitions || sinfo ''[-p partition_name or -M cluster_name]''
|-
| List example Slurm scripts || ls -p /util/slurm-scripts less
|-
| Submit a job script for later execution || sbatch ''script-file''
|-
| Cancel a pending or running job || scancel ''jobid''
|-
| Check the state of a user's jobs || squeue—user=''username''
|-
| Allocate compute nodes for interactive use || salloc
|-
| Run a command on allocated compute nodes || srun
|-
| Display node information || snodes ''[node cluster/partition state]''
|-
| Launch an interactive job || fisbatch ''[various sbatch options]''
|-
| List priorities of queued jobs ||sranks
|-
| Get the efficiency of a running job || sueff ''user-name''
|-
| Get Slurm accounting information for a user's jobs from start date to now || suacct start-date ''user-name''
|-
| Get Slurm accounting and node information for a job || slist ''jobid''
|-
| Get resource usage and accounting information for a user's jobs from start date to now || slogs ''start-date user-list''
|-
| Get estimated starting times for queued jobs || stimes ''[various squeue options]''
|-
| Monitor performance of a Slurm job || /util/ccrjobvis/slurmjobvis ''jobid''
|}
==External links==
|