Last active
April 23, 2024 12:43
-
-
Save ozancaglayan/61fdf417cefd4a5ea4331e0cba4418c5 to your computer and use it in GitHub Desktop.
Aliases for SLURM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
# SINFO aliases | |
############### | |
# Detailed sinfo | |
alias si="sinfo -o '%8P %10n %.11T %.4c %.8z %.6m %12G %10l %10L %10O %20E' -S '-P'" | |
# sinfo only on GPU partition | |
alias sig="si -p gpu" | |
# sinfo only on CPU partition | |
alias sic="si -p cpu" | |
################ | |
# SQUEUE aliases | |
################ | |
# Detailed squeue | |
alias sq="squeue -Su -o '%8i %10u %20j %4t %5D %20R %15b %3C %7m %11l %11L'" | |
# squeue only on GPU partition | |
alias sqg="sq -p gpu" | |
# squeue only on CPU partition | |
alias sqc="sq -p cpu" | |
# squeue only your jobs | |
alias squ="sq -u `id -un`" | |
# SSTAT alias to get information about your RUNNING jobs | |
# Usage: sst <jobid> | |
# OR sst <jobid>.batch (if you use SBATCH and do not use SRUN inside) | |
alias sst='sstat --format=JobID,NTasks,AveCPU,AveCPUFreq,AveRSS,MaxRSS -j' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment