Command Reference Guide

Platform LSF Command Reference 25
Activates specified queues, or all queues if the reserved word all is specified. If no
queue is specified, the system default queue is assumed. Jobs in a queue can be
dispatched if the queue is activated.
A queue inactivated by its run windows cannot be reactivated by this command.
-C comment
Logs the text of the comment as an administrator comment record to lsb.events.
The maximum length of the comment string is 512 characters.
qinact [-C comment] [queue_name ... | all]
Inactivates specified queues, or all queues if the reserved word all is specified. If
no queue is specified, the system default queue is assumed. No job in a queue can
be dispatched if the queue is inactivated.
-C comment
Logs the text as an administrator comment record to lsb.events. The maximum
length of the comment string is 512 characters.
qhist [-t time0,time1] [-f logfile_name] [queue_name ...]
Displays historical events for specified queues, or for all queues if no queue is
specified. Queue events are queue opening, closing, activating and inactivating.
-t time0,time1
Displays only those events that occurred during the period from time0 to time1. See
bhist(1) for the time format. The default is to display all queue events in the event
log file (see below).
-f logfile_name
Specify the file name of the event log file. Either an absolute or a relative path name
may be specified. The default is to use the event log file currently used by the LSF
system:
LSB_SHAREDIR/cluster_name/logdir/lsb.events. Option -f is useful for
offline analysis.
If you specified an administrator comment with the
-C option of the queue control
commands
qclose, qopen, qact, and qinact, qhist displays the comment text.
hopen [-C comment] [host_name ... | host_group ... | all]
Opens batch server hosts. Specify the names of any server hosts or host groups. All
batch server hosts are opened if the reserved word
all is specified. If no host or host
group is specified, the local host is assumed. A host accepts batch jobs if it is open.
IMPORTANT: If EGO-enabled SLA scheduling is configured through ENABLE_DEFAULT_EGO_SLA
in lsb.params, and a host is closed by EGO, it cannot be reopened by badmin hopen. Hosts
closed by EGO have status closed_EGO in bhosts -l output.
-C comment
Logs the text as an administrator comment record to lsb.events. The maximum
length of the comment string is 512 characters.
If you open a host group, each host group member displays with the same comment
string.
hclose [-C comment] [host_name ... | host_group ... | all]