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

[bash] slurm - filter node in state boot in the scol function

This commit is contained in:
Hyacinthe Cartiaux 2023-03-21 23:42:18 +01:00
parent f2414315bc
commit 105201ccdb

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|%N" -p all $* | grep -e '\(drain\|down\)' | column -t -s'|' | sort sinfo -o "%E|%T|%N" -p all $* | grep -e '\(drain\|down\|boot\)' | column -t -s'|' | sort
} }