Add cheatsheet slurm

This commit is contained in:
Darjan Salaj 2018-07-04 23:04:18 +02:00
parent aa1e12625e
commit f93ca8f7ce
1 changed files with 15 additions and 0 deletions

15
cheat/cheatsheets/slurm Normal file
View File

@ -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