1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 17:25:23 +02:00

[bash] bash_slurm - fix scol

This commit is contained in:
Hyacinthe Cartiaux 2023-01-16 10:25:42 +01:00
parent 067a5d553a
commit 750e4af15b

View file

@ -27,5 +27,5 @@ 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'
scol() { scol() {
sinfo -o "%E|%T|%100N" -p all $* | grep -e '\(drain\|down\)' | column -t -s'|' | tail -n+2 | sort sinfo -o "%E|%T|%100N" -p all $* | grep -e '\(drain\|down\)' | column -t -s'|' | sort
} }