More Slurm Commands

squeue

View information about jobs located in the Slurm scheduling queue.

squeue --me : show current job queues for self

squeue -A $ACCOUNT : show current jobs for a specific account

squeue --user=$USER : show current jobs for a specific user

https://slurm.schedmd.com/squeue.html

scancel

Used to signal jobs or job steps that are under the control of Slurm.

scancel $JOBNUMBER : cancel the job based on the value of $JOBNUMBER, e.g. 6708141.

https://slurm.schedmd.com/scancel.html

sinfo

Used to view partition and node information for a system running Slurm.

sinfo -a  : view all active partitions.  

sinfo -p $PARTITION : view information about a specific partition

https://slurm.schedmd.com/sinfo.html

scontrol

View or modify slurm configuration and state

scontrol -a : Display all partitions, their jobs and their job steps.  

sacctmgr show -s account name=$ACCOUNT format=grptres%40,grptresrunmins%50: View gpu limits for a specific account

https://slurm.schedmd.com/scontrol.html

sacct

Display all accounting data for jobs and job steps

sacct -A $ACCOUNT : Display just information for account holder $ACCOUNT

sacct -j $JOBNUMBER: Display information about a certain job

Note sacct has -o for formatting options.  This is a delimited set of fields.  The available fields can be viewed with:

sacct --helpformat

https://slurm.schedmd.com/sacct.html

seff

Display job efficiency information.  seff is a user community provided script.  

seff $JOBNUMBER : Display the resource allocation efficiency output

https://support.schedmd.com/show_bug.cgi?id=1611