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

qstat is used to obtain the status of a job in real-time.

Type in the following command:

qstat

qstat_screenshot

To get more information on the cluster queue, type in the following command:

qstat -g c

qstat_screenshot2

To get priority ordering, type in the following command:

qstat -u \* -s p -pri | head

qstat_screenshot3.1

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.

qstat_screenshot4.1

To check for a submitted job using the user ID, type in the following command:

qstat -u username

Where username is the user.

qstat_screenshot5

top

qjbu

qjbu is a command to determine the number of queued jobs by users. To use, enter the following command:

qjbu

QBJU_screenshot

top

rjbu

To determine the number of running jobs by user, type in the following command:

rjbu

RJBU_screenshot1
top

qrsj

qrsj is used to determine the current active interactive sessions. Enter the following command:

qrsj

QRSJ_screenshot
top

qpeek

qpeek is the aggregate of qjbu, rjbu and qrsj. To get the queueing system overview, type in the following command:

qpeek

qpeek_screenshot

top

qhost

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.

qhost_screenshot

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.

qhost_screenshot2

top

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

qconf_screenshot

Use the following to display the current complex configuration:

qconf -sc | tail -15

qconf_screenshot2

top

usage

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.
usage_screenshot

Once complete, can use the following command to view:

ls -ltr

usage_screenshot2

top