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:
parent
ebafb5719e
commit
067a5d553a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue