1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 09:15:24 +02:00

[bash] bash_slurm - fix scol

This commit is contained in:
Hyacinthe Cartiaux 2023-01-13 00:03:17 +01:00
parent ebafb5719e
commit 067a5d553a

View file

@ -26,4 +26,6 @@ alias sqlu='squeue -la -u $USER'
alias sd=' sinfo -d' alias sd=' sinfo -d'
alias i=' srun -p interactive --qos qos-interactive --time=5:0 --pty bash -i' 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 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
}