Command Reference Guide

Platform LSF Command Reference 79
Use -sla with -g to kill jobs in job groups attached to a service class.
The
-sla option is ignored if a job ID other than 0 is specified in the job_ID option.
Use
bsla to display the configuration properties of service classes configured in
lsb.serviceclasses, the default SLA configured with
ENABLE_DEFAULT_EGO_SLA in
lsb.params, and dynamic information about
the state of each service class.
-u user_name | -u user_group | -u all
Operates only on jobs submitted by the specified user or user group, or by all users
if the reserved user name
all is specified. To specify a Windows user account,
include the domain name in uppercase letters and use a single backslash
(DOMAIN_NAME\user_name) in a Windows command line or a double backslash
(DOMAIN_NAME\\user_name) in a UNIX command line.
If job_ID is not specified, only the most recently submitted qualifying job is
operated on. The
-u option is ignored if a job ID other than 0 is specified in the
job_ID option.
job_ID ... | 0 | "job_ID[index]" ...
Operates only on jobs that are specified by job_ID or "job_ID[index]", where
"job_ID[index]" specifies selected job array elements (see
bjobs(1)). For job arrays,
quotation marks must enclose the job ID and index, and index must be enclosed in
square brackets.
Jobs submitted by any user can be specified here without using the
-u option. If you
use the reserved job ID 0, all the jobs that satisfy other options (that is,
-m, -q, -u
and
-J) are operated on; all other job IDs are ignored.
The options
-u, -q, -m and -J have no effect if a job ID other than 0 is specified. Job
IDs are returned at job submission time (see
bsub(1)) and may be obtained with
the
bjobs command (see bjobs(1)).
-h Prints command usage to stderr and exits.
-V Prints LSF release version to stderr and exits.
Examples
bkill -s 17 -q night
Sends signal 17 to the last job that was submitted by the invoker to queue night.
bkill -q short -u all 0
Kills all the jobs that are in the queue short.
bkill -r 1045
Forces the removal of unkillable job 1045.
bkill -sla Tofino 0
Kill all jobs belonging to the service class named Tofino.
bkill -g /risk_group 0
Kills all jobs in the job group /risk_group.
bkill -app fluent