Purpose
Places jobs in user hold or system hold and releases jobs from both types of hold. Users can only move their own jobs into and out of user hold. Only LoadLeveler administrators can move jobs into and release them from system hold.
Syntax
llhold [-?] [-H] [-v] [-q] [-s] [-r] [-u userlist] [-h hostlist] [joblist]
Flags
If neither -s nor -r is specified, LoadLeveler puts the job(s) in user hold.
Only a LoadLeveler administrator can release jobs from system hold. Only an administrator or the owner of a job can release it from user hold.
If neither -s nor -r is specified, LoadLeveler puts the job(s) in user hold.
When issued by a non-administrator, this option only acts upon jobs that user has submitted to the machines in hostlist.
When issued by an administrator, all jobs monitored on the machines are acted upon unless the -u option is also used. In that case, the userlist is also part of the selection process, and only jobs both submitted by users in userlist and monitored on the machines in the hostlist are acted upon.
If the job was submitted from a submit-only machine, this is the name of the schedd machine that sent the job to the negotiator.
Description
This command does not affect a job step that is running unless the job step attempts to enter the Idle state. At this point, the job step is placed in the Hold state.
To ensure a job is released from both system hold and user hold, the administrator must issue the command with -r specified to release it from system hold. The administrator or the submitting user can reissue the command to release the job from user hold.
This command will fail if:
Examples
This example places job 23, job step 0 and job 19, job step 1 on hold:
llhold 23.0 19.1
This example releases job 23, job step 0, job 19, job step 1, and job 20, job step 3 fron a hold state:
llhold -r 23.0 19.1 20.3
This example places all jobs from users abe, barbara, and carol2 in system hold:
llhold -s -u abe barbara carol2
This example releases from a hold state all jobs on machines bronze, iron, and steel:
llhold -r -h bronze iron steel
This example releases from a hold state all jobs on machines bronze, iron, and steel that smith submitted:
llhold -r -u smith -h bronze iron steel
Results
The following shows a sample system response for the llhold -r -h bronze command:
llhold: Hold command has been sent to the central manager.