| 151 | | |
| 152 | | == slurm == |
| 153 | | |
| 154 | | A comparision of PBS to slurm commands can be found here: http://slurm.schedmd.com/rosetta.pdf |
| 155 | | |
| 156 | | Useful commands: |
| 157 | | |
| 158 | | Graphical overview over greenplanet usage: |
| 159 | | {{{ |
| 160 | | sview |
| 161 | | }}} |
| 162 | | |
| 163 | | Get number of idle nodes: |
| 164 | | {{{ |
| 165 | | sinfo --states=idle |
| 166 | | }}} |
| 167 | | |
| 168 | | See jobs of <username>: |
| 169 | | {{{ |
| 170 | | squeue -u <username> |
| 171 | | }}} |
| 172 | | |
| 173 | | Get more information on jobs of user: |
| 174 | | {{{ |
| 175 | | sacct -u <username> --format=User,JobID,account,Timelimit,elapsed,ReqMem,MaxRss,ExitCode |
| 176 | | }}} |
| 177 | | |
| 178 | | Get information on partition (here c6145): |
| 179 | | {{{ |
| 180 | | scontrol show partition=c6145 |
| 181 | | }}} |
| 182 | | |
| 183 | | Get sorted list of users on partition: |
| 184 | | {{{ |
| 185 | | squeue | grep -i c6145 | awk '{print $4}' | sort | uniq -c | sort -rn |
| 186 | | }}} |