mirror of
https://github.com/cheat/cheat.git
synced 2024-11-25 23:41:36 +01:00
commit
a5b0132b08
15
cheat/cheatsheets/slurm
Normal file
15
cheat/cheatsheets/slurm
Normal 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
|
Loading…
Reference in New Issue
Block a user