Platform LSF Reference Version 6.2
bkill
Platform LSF Reference
73
You cannot use -g with -sla. A job can either be attached to a job group or a service
class, but not both.
The
-sla option is ignored if a job ID other than 0 is specified in the job_ID option.
Use
bsla to display the properties of service classes configured in
LSB_CONFDIR/cluster_name/configdir/lsb.serviceclasses (see
lsb.serviceclasses(5)) and dynamic information about the state of each
configured 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.
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.