Created
May 27, 2020 10:49
-
-
Save nylander/c55799686f71a008ec6ccdb37b8bfa5d to your computer and use it in GitHub Desktop.
Alias for better jobinfo output on UPPMAX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Bash alias for better jobinfo output on UPPMAX. | |
| # Last modified: 2020-05-27 | |
| # Sign: Johan Nylander | |
| # Include in your ~/.bash_aliases, and | |
| # check that your ~/.bashrc reads your ~/.bash_aliases by, e.g., | |
| # including this in your ~/.bashrc: | |
| # if [ -f ~/.bash_aliases ]; then | |
| # . ~/.bash_aliases | |
| # fi | |
| # | |
| # Example output (ca 135 columns wide) | |
| # | |
| # [nylander@rackham2 ~]$ Jobinfo | |
| # CLUSTER: rackham | |
| # JOBID NAME USER STATE TIME TIME_LIMIT PARTITION NODES NODELIST(REASON) | |
| # | |
| # CLUSTER: snowy | |
| # JOBID NAME USER STATE TIME TIME_LIMIT PARTITION NODES NODELIST(REASON) | |
| # 2356946 init_and_plast nylander RUNNING 11:16:47 3-18:00:00 core 1 s55 | |
| # 2380785 Ficedula_h_pallidipectus_55_186.nhmmer nylander RUNNING 22:29 2-12:00:00 core 1 s100 | |
| # 2380787 Ficedula_h_jugosae_34_2700.nhmmer nylander RUNNING 22:29 2-12:00:00 core 1 s46 | |
| # 2380789 Seicercus_p_floresianus_AMNH450392.nhmmer nylander RUNNING 22:29 2-12:00:00 core 1 s72 | |
| alias Jobinfo='squeue --user=$USER -M snowy,rackham --format="%.8i %.50j %.8u %.8T %.10M %.10l %.9P %.6D %.16R"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment