bstop

suspends unfinished jobs

Synopsis

bstop [-a][-d][-appapplication_profile_name] [-gjob_group_name] [-slaservice_class_name] [-Jjob_name] [-mhost_name -mhost_group] [-qqueue_name] [-uuser_name

-uuser_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

0Suspends all the jobs that satisfy other options (-g, -m, -q, -u, and -J).

-aSuspends all jobs.

-appapplication_profile_name

Suspends only jobs associated with the specified application profile. You must specify an existing application profile.

-gjob_group_name Suspends only jobs in the specified job group. -Jjob_name Suspends only jobs with the specified name.

-mhost_name -mhost_group

Suspends only jobs dispatched to the specified host or host group.

-qqueue_name Suspends only jobs in the specified queue.

-slaservice_class_name

Suspends jobs belonging to the specified service class.

Platform LSF Command Reference 175