Merge pull request #385 from dsalaj/master

Add cheatsheet slurm
This commit is contained in:
Chris Allen Lane 2018-08-20 12:21:10 -04:00 committed by GitHub
commit a5b0132b08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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