From f93ca8f7ce744d42607386cb200921758227872b Mon Sep 17 00:00:00 2001 From: Darjan Salaj Date: Wed, 4 Jul 2018 23:04:18 +0200 Subject: [PATCH] Add cheatsheet slurm --- cheat/cheatsheets/slurm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 cheat/cheatsheets/slurm 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