Command | Usage | Description | Example |
---|---|---|---|
sbatch | Submits a batch job to the Slurm scheduler | sbatch [options] script | sbatch myScript.sbatch |
squeue | Displays the status of jobs in the queue | squeue [options] | squeue |
sinfo | Provides information about Slurm nodes and queues | sinfo [options] | sinfo |
srun | Runs a parallel job interactively | srun [options] executable [arguments] | srun –pty –mem=8gb –time=1:00:00 –cpus-per-task=1 –nodes=1 /bin/bash |
scancel | Cancels a pending or running job | scancel [options] job_id | scancel 1203 |