bresume

resumes one or more suspended jobs

Synopsis

bresume [-app application_profile_name] [-g job_group_name] [-J job_name] [-m host_name] [-q queue_name] [-sla service_class_name] [-u user_name | -u user_group | -u all] [0]
bresume [job_ID | "job_ID[index_list]"] ...
bresume [-h | -V]

Description

Sends the SIGCONT signal to resume one or more of your suspended jobs.

Only root and LSF administrators can operate on jobs submitted by other users. You cannot resume a job that is not suspended. Using bresume on a job that is not in either the PSUSP or the USUSP state has no effect.

You must specify a job ID or -g, -J, -m, -u, or -q. You cannot resume a job that is not suspended. Specify 0 (zero) to resume multiple jobs.

You can also use bkill -s CONT to send the 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.

Jobs that are suspended by the administrator can only be resumed by the administrator or root; users do not have permission to resume a job suspended by another user or the administrator. Administrators or root can resume jobs suspended by users or administrators.

ENABLE_USER_RESUME parameter (lsb.params)

If ENABLE_USER_RESUME=Y in lsb.params, users can resume their own jobs that have been suspended by the administrator.

Options

0

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

-app application_profile_name

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

-g job_group_name

Resumes only jobs in the specified job group.

-J job_name

Resumes only jobs with the specified name.

The job name can be up to 4094 characters long. Job names are not unique.

The wildcard character (*) can be used anywhere within a job name, but cannot appear within array indices. For example job* returns jobA and jobarray[1], *AAA*[1] returns the first element in all job arrays with names containing AAA, however job1[*] will not return anything since the wildcard is within the array index.

-m host_name

Resumes only jobs dispatched to the specified host.

-q queue_name

Resumes only jobs in the specified queue.

-sla service_class_name

Resume jobs belonging to the specified service class.

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

Resumes only jobs owned by the specified user or group, or 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.

job_ID ... | "job_ID[index_list]" ...

Resumes only the specified jobs. Jobs submitted by any user can be specified here without using the -u option.

-h

Prints command usage to stderr and exits.

-V

Prints LSF release version to stderr and exits.

Examples

bresume -q night 0

Resumes all of the user’s suspended jobs that are in the night queue. If the user is the LSF administrator, resumes all suspended jobs in the night queue.

bresume -g /risk_group 0

Resumes all suspended jobs in the job group /risk_group.

See also

bsub(1), bjobs(1), bqueues(1), bhosts(1), bstop(1), bkill(1), bgadd(1), bgdel(1), bjgroup(1), bparams(1), bapp(1), mbatchd(8), kill(1), signal(2) lsb.params(5), lsb.applications(5)