Useful Commands
Systems & Access :: Learning to Use :: Linux Computing Resource
Below is a list of commands that are useful to know. The man-page for the pbs commands are available on almaak and uschpc. More information and documentation about the TORQUE resource manager (PBS) and the Maui Cluster Scheduler can be found at http://www.clusterresources.com/products/documentation.shtml
PBS commands
qsub: submits PBS job
typical usage:
qsub [-A account] script
qdel: deletes PBS job
typical usage:
qdel job_identifier
qstat: shows the status of PBS jobs
typical usage:
qstat -f job_identifier
pbstop: shows the current status of the cluster nodes
qbalance: shows the QBank account balance
typical usage:
qbalance [-a account] [-u user] -h
showstart: shows the approximate starting time of the job
typical usage:
showstart job_identifier
checkjob: shows the current status of the job
typical usage:
checkjob job_identifier
checknode: shows the status of the node
typical usage:
checknode node_identifier
pbsnodes: shows the detail of nodes
typical usage:
pbsnodes -a
To list the count of unique nodes along with the properties of those nodes:
pbsnodes -a | grep properties | sort | uniq -c
pbsdsh: distributes task to nodes under pbs
typical usage:
pbsdsh executable [args]
The following command copies the inputfile into /tmp directory of each node:
pbsdsh cp inputfile /tmp
mpiexec: initializes parallel job
typical usage:
mpiexec executable [args]
The following command copies the inputfile into /tmp directory of each node:
mpiexec -comm=none -pernode cp inputfile /tmp
Disk quota
/opt/SUNWsamfs/sbin/samquota: shows the disk quota information
This command is available on almaak and not on hpc.
typical usage:
/opt/SUNWsamfs/sbin/samquota -k -U username