Queue Statistics/Information
qstat
qjbu
rjbu
qrsj
qpeek
qhost
qconf
usage
To use these commands, you need to first log in to the cluster, and then use the interactive session qrsh or qlogin commands (as seen in this tutorial here)
qstat is used to obtain the status of a job in real-time.
Type in the following command:
qstat
To get more information on the cluster queue, type in the following command:
qstat -g c
To get priority ordering, type in the following command:
qstat -u \* -s p -pri | head
To determine how much RAM/memory a job needs, type in the following command:
qstat -j 1682890 | grep usage
Where 1682890 is the job-ID found in the above qstat query.
To check for a submitted job using the user ID, type in the following command:
qstat -u username
Where username is the user.
qjbu is a command to determine the number of queued jobs by users. To use, enter the following command:
qjbu
To determine the number of running jobs by user, type in the following command:
rjbu
qrsj is used to determine the current active interactive sessions. Enter the following command:
qrsj
qpeek is the aggregate of qjbu, rjbu and qrsj. To get the queueing system overview, type in the following command:
qpeek
To get the resources are available, type in the following command:
qhost -l mem_free=14G
Where 14G stands for 14GB of available RAM within the node.
To find what resources are available on a particular node, type in the following command:
qhost -h compute-1-1
Where compute-1-1 is a specific host name for the node you are interested in finding more information on.
qconf
Used for queue configuration, qconf can be used in multiple ways.
To list all of the currently configured cluster queues, type the following code:
qconf -sql
Use the following to display the current complex configuration:
qconf -sc | tail -15
To get more information on the cluster usage statistics, use the following command:
usage -hour -summary > usage.txt
Where usage.txt is the name of the usage output file.

Once complete, can use the following command to view:
ls -ltr




















