Skip to main content

Helpful Slurm Commands

CommandPurpose
myjobsDisplay your current jobs in the queue
sqDisplay the queue in a readable format (a wrapper for squeue); add -u <user> to show one user
thisjob <jobID>View information about a job, including the estimated start time
seff <jobID>View the efficiency of a completed job, including the CPU and memory it used
sacct -j <jobID> --batch-scriptShow the batch script a past job ran (see Job Statistics)
mkjupy <envName>Turn a mamba environment into a Jupyter kernel
myfairshareView your real FairShare score
myquotaView your $SCRATCH Quota
showsimgList available Apptainer .sif files
sbatchSubmit a batch script (See Slurm - SBATCH Job Scripts)
sallocRun a command on a compute node (See Slurm - Interactive Shell)
sinfoView information about the cluster
scontrol tokenCreate an API token for the Slurm REST API (see Slurm REST API)
nsA command-line version of the cluster status page (written by Prof. Jay Oswald)