Common Slurm Commands

Common Slurm Commands

Commands

Syntax

Description

Commands

Syntax

Description

sbatch

sbatch <sciptname>

Submit a batch script to Slurm for processing.

squeue

squeue -u <username>

Show information about your job(s) in the queue. The command when run without the -u flag, shows a list of your job(s) and all other jobs in the queue.

srun

srun <resource-parameters>

Run jobs interactively on the cluster.

skill/scancel

scancel <job-id>

End or cancel a queued job.

sinfo

sinfo

Get information about the resources on available nodes that make up the HPC cluster.