Command Reference Guide

Platform LSF Command Reference 175
bstop
suspends unfinished jobs
Synopsis
bstop [ -a] [-d] [-app application_profile_name] [-g job_group_name]
[-sla service_class_name] [-J job_name] [-m host_name | -m
host_group] [-q queue_name] [-u user_name |
-u user_group | -u all] [0] [job_ID ... | "job_ID[index]"] ...
bstop [-h | -V]
Description
Suspends unfinished jobs.
Sends the SIGSTOP signal to sequential jobs and the SIGTSTP signal to parallel
jobs to suspend them.
You must specify a job ID or
-g, -J, -m, -u, or -q. You cannot suspend a job that is
already suspended. Specify job ID
0 (zero) to stop multiple jobs.
Only
root and LSF administrators can operate on jobs submitted by other users.
Use
bresume to resume suspended jobs.
An administrator can use
bstop on a job stopped by the user (in the state USUSP)
to prevent the user from resuming the job.
You can also use
bkill -s STOP to send the suspend signal to a job or use
bkill -s TSTP to suspend one or more parallel jobs. Use bkill -s CONT to send
a resume signal to a job.
If a signal request fails to reach the job execution host, LSF retries the operation
later when the host becomes reachable. LSF retries the most recent signal request.
Options
0 Suspends all the jobs that satisfy other options (-g, -m, -q, -u, and -J).
-a Suspends all jobs.
-app application_profile_name
Suspends only jobs associated with the specified application profile. You must
specify an existing application profile.
-g job_group_name Suspends only jobs in the specified job group.
-J job_name Suspends only jobs with the specified name.
-m host_name | -m host_group
Suspends only jobs dispatched to the specified host or host group.
-q queue_name Suspends only jobs in the specified queue.
-sla service_class_name
Suspends jobs belonging to the specified service class.