Changes between Version 4 and Version 5 of camhpc


Ignore:
Timestamp:
10/20/16 11:09:51 (9 years ago)
Author:
Mathieu Morlighem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • camhpc

    v4 v5  
    149149md=loadresultsfromcluster(md,'LAUNCHSTRING');
    150150}}}
    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 }}}