SLURM Commands Cheat Sheet

Here is a cli commands cheat sheet for SLURM command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.

What is SLURM command?

Add some data here

        # To submit a new job:
sbatch job.sh

# To list all jobs for a user:
squeue -u 

# To cancel a job by id or name:
scancel 
scancel --name 

# To list all information for a job:
scontrol show jobid -dd 

# To status info for currently running job:
sstat --format=AveCPU,AvePages,AveRSS,AveVMSize,JobID -j  --allsteps
    

Check out the SLURM command documentation .


You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again

Check Also

Best AI tools list