mirror of
https://github.com/cheat/cheat.git
synced 2024-11-16 08:58:28 +01:00
commit
a5b0132b08
1 changed files with 15 additions and 0 deletions
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 a new issue