LSF Version 7.3 - Administering Platform LSF
Using Job Groups
134 Administering Platform LSF
</home/user1;
Tue Jun 17 16:22:01: Started on <hostA>;
...
Control jobs in job groups
Suspend and resume jobs in job groups, move jobs to different job groups,
terminate jobs in job groups, and delete job groups.
Suspend jobs (bstop)
1 Use the -g option of bstop and specify a job group path to suspend jobs in a
job group
bstop -g /risk_group 106
Job <106> is being stopped
2 Use job ID 0 (zero) to suspend all jobs in a job group:
bstop -g /risk_group/consolidate 0
Job <107> is being stopped
Job <108> is being stopped
Job <109> is being stopped
Resume suspended jobs (bresume)
1 Use the -g option of bresume and specify a job group path to resume suspended
jobs in a job group:
bresume -g /risk_group 106
Job <106> is being resumed
2 Use job ID 0 (zero) to resume all jobs in a job group:
bresume -g /risk_group 0
Job <109> is being resumed
Job <110> is being resumed
Job <112> is being resumed
Move jobs to a different job group (bmod)
1 Use the -g option of bmod and specify a job group path to move a job or a job
array from one job group to another.
bmod -g /risk_group/portfolio2/monthly 105
moves job 105 to job group /risk_group/portfolio2/monthly.
Like
bsub -g, if the job group does not exist, LSF creates it.
bmod -g cannot be combined with other bmod options. It can only operate on
pending jobs. It cannot operate on running or finished jobs.
You can modify your own job groups and job groups that other users create
under your job groups. The LSF administrator can modify job groups of all
users.