bqueues - get information about batch queues in the lsbatch system
bqueues [ -h ] [ -V ] [ -w | -l ]
[ -m host_name ] [ -u user_name ] [ queue_name ... ]
Display the status and other information about the batch queues queue_name .... The default is to return information about all queues in the system. Batch queue names and characteristics are set up by the LSF administrator (see lsbatch(5) and mbatchd(8) ). A listing of the queues is displayed with the following fields:
QUEUE_NAME
The name of the queue.
PRIO The priority of the queue. It determines the order in which the job queues are searched at job dispatch, suspension and resumption time. Queues with higher priority values are searched first (this is contrary to UNIX process priority ordering) for job dispatch and resumption, and are searched last for job suspension.
NICE The nice value at which jobs in this queue will be run. This is the UNIX nice value for reducing the process priority (see nice(1) ).
STATUS
The current status of the queue. Possible values are :
Open The queue is able to accept jobs.
Closed
The queue is not able to accept jobs.
Active
Jobs in this queue may be started.
Inactive
Jobs in this queue cannot be started for the time being.
At any moment, each queue is either Open or Closed, and is either Active or Inactive. The queue can be opened, closed, inactivated and re-activated by the LSF administrator using the badmin command (see badmin(8) ). The queue can also be set to be inactive when either of its dispatch windows or run windows are closed (see DISPATCH_WINDOWS). In this case the queue cannot be activated using the badmin command. The queue is reactivated by lsbatch when one of its dispatch windows and one of its run windows are open again. The initial state of a queue at lsbatch boot time is set to open, and either active or inactive depending on its windows.
For the long display format (displayed when the -l option is specified), the reason for a queue being Inactive is explained as follows. If the queue is out of either its dispatch windows or run windows, Inact_Win is shown. If the queue has been inactivated by the LSF administrator, Inact_Adm is shown.
MAX The maximum number of jobs that can be dispatched from this queue and have not finished yet (including suspended jobs). If the character `-' is displayed, there is no limit.
JL/U The maximum number of jobs per user that can be dispatched from this queue and that have not finished yet (including suspended jobs). If the character `-' is displayed, there is no limit.
JL/P The maximum number of jobs per processor that can be dispatched from this queue and that have not finished yet (including suspended jobs). This limit controls the number of jobs sent to each host. The limit is configured per processor so that multiprocessor hosts are automatically allowed to run more jobs. If the character `-' is displayed, there is no limit.
NJOBS
The total number of jobs currently in this queue, including pending,
running, and suspended jobs. A parallel job that is running on n processors
is counted as one job, since it only takes one job slot in the
queue. See bjobs(1)
for an explanation of batch job states.
PEND The number of pending jobs in this queue.
RUN The number of running jobs in this queue.
SUSP The number of suspended jobs in this queue.
-h Print command usage to stderr and exit.
-V Print LSF release version to stderr and exit.
-w Display queue information in a wide format. Fields are displayed without being truncated.
-l Display queue information in a (long) multi-line format. The following information is given in addition to the display fields previously described :
The loadSched and loadStop vectors have the following fields:
r15s
The 15-second exponentially averaged effective CPU run queue
length.
r1m
The 1-minute exponentially averaged effective CPU run queue
length.
r15m
The 15-minute exponentially averaged effective CPU run queue
length.
swp
The amount of currently available swap space, in Mbytes.
mem
The amount of currently available memory, in Mbytes.
tmp
The amount of free space in /tmp, in Mbytes.
In addition to these internal indices, external indices are also displayed if they are defined in lsb.queues (see lsbatch(5) ).
The values in the loadSched vector specify the job dispatching thresholds for the corresponding load indices. If a character `-' is displayed as the value, it means this threshold is don'tcare. Jobs in this queue may be dispatched to a host if the values of all the load indices of the host are within (below or above, depending on the meaning of the load index) the corresponding thresholds of this queue and this host. The same conditions are used to resume jobs dispatched from this queue that have been suspended on this host.
Similarly, the values in the loadStop vector specify the thresholds for job suspension. If any of the load index values on a host goes beyond the corresponding threshold of the queue, jobs in the queue will be suspended.
If the fairshare policy is not specified, jobs in this queue are scheduled based on the conventional first-come-firstserve (FCFS) policy. That is, jobs submitted earlier to this queue would be dispatched earlier than other jobs in this queue.
A window is displayed in the format of begin_time-end_time. Time is specified in the format of [day:]hour[:minute], where all fields are numbers in their respective legal ranges: 0(Sunday)-6 for day, 0-23 for hour, and 0-59 for minute. The default value for minute is 0 (on the hour). The default value for day is every day of the week. The begin_time and end_time of a window are separated by `-', with no blank characters (SPACE and TAB) in between. Both begin_time and end_time must be present for a window. Windows are separated by blank characters. If only character `-' is displayed, the windows are always open.
-m host_name
Display the queues from which batch jobs may be dispatched to the host
or the host group (see bmgroup(1)
) specified by host_name. The
default is to consider all the hosts.
-u user_name
Display the queues to which the user or the user group (see
bugroup(1)
) specified by user_name may submit batch jobs. The default
is to consider all the users.
queue_name ...
Display information about queue(s) that are specified by queue_name
... . If no queue_name is specified, the default is to display the
information about all the queues in the lsbatch system that satisfy
the specification of the options -m and/or -u.
lsbatch(1) , lsbatch(5) , bsub(1) , bjobs(1) , bhosts(1) , bugroup(1) , badmin(8) , mbatchd(8) , nice(1) , getrlimit(2)