Add these aliases in your ~/.bashrc
file. To use them, save the updated file and type . ~/.bashrc
to reload the bash file
- View all running jobs
-
alias qq="watch -n 0.1 'squeue -u ppmody -o \"%.10i %.9P %.24j %.8u %.2t %.10M %.5D %R\" ; echo -e \"\n\" ; squeue -p LKEBgpu,highmemgpu,gpu --sort=\"N,-i\" -o \"%.10i %.9P %.12j %.8u %.2t %.10M %.5D %.16R %.3C %.7m %b\"; echo -e \"\n\"; sinfo -a' "
-
- View resources within the cluster
-
alias qqq="scontrol -o show nodes |grep -e \"lkeb\" -e \"gpu.ai\" -e \"gpu\"| awk '{ print \$1, \$4, \$5, \$9, \$23, \$24, \$25}'"
-