diff --git a/cheat/cheatsheets/slurm b/cheat/cheatsheets/slurm new file mode 100644 index 0000000..125af9a --- /dev/null +++ b/cheat/cheatsheets/slurm @@ -0,0 +1,15 @@ +# Submit a new job: +sbatch job.sh + +# List all jobs for a user: +squeue -u user_name + +# Cancel a job by id or name: +scancel job_id +scancel --name job_name + +# List all information for a job: +scontrol show jobid -dd job_id + +# Status info for currently running job: +sstat --format=AveCPU,AvePages,AveRSS,AveVMSize,JobID -j job_id --allsteps