Friday, September 26, 2008

cluster command

Node info

      pbsnodes -a             # show status of all nodes       pbsnodes -a nodeNN      # show status of specified node       pbsnodes -l             # list inactive nodes       pbsnodelist             # list status of all nodes (one per line) 

Queue info

      qstat -Q                      # show all queues       qstat -Q               # show status of specified queue       qstat -f -Q            # show full info for specified queue       qstat -q                      # show all queues (alternative format)       qstat -q               # show status of specified queue (alt.) 

Job submission and monitoring

      qsub               # submit to default queue       qsub -q     # submit to specified queue       qsub -l nodes=4:ppn=2    # request 4x2 processors       qsub -l nodes=nodeNN     # run on specified node        qsub -l cput=HH:MM:SS        # limit on CPU time (serial job)       qsub -l walltime=HH:MM:SS    # limit on wallclock time (parallel job)        qdel                  # delete job (with  from qstat)        qstat -a                      # show all jobs       qstat -a               # show all jobs in specified queue               qstat -f              # show full info for specified job       qstat -n                      # show all jobs and the nodes they occupy

No comments: