diff --git a/bash/bash_slurm b/bash/bash_slurm index 663236f..9c4bd63 100755 --- a/bash/bash_slurm +++ b/bash/bash_slurm @@ -26,4 +26,6 @@ alias sqlu='squeue -la -u $USER' alias sd=' sinfo -d' alias i=' srun -p interactive --qos qos-interactive --time=5:0 --pty bash -i' alias ix=' srun -p interactive --qos qos-interactive --time=5:0 --x11 --pty bash -i' -alias scol='sinfo -o "%E|%T|%100N" -p all | grep -e '\(drain\|down\)' | column -t -s'|' | tail -n+2 | sort' +scol() { + sinfo -o "%E|%T|%100N" -p all $* | grep -e '\(drain\|down\)' | column -t -s'|' | tail -n+2 | sort +}