Suspend a job

You can suspend or stop a job that is already running.

Before you begin

You must be an administrator or the user who submitted the job.

About this task

When you stop a job, it is suspended until you choose to resume it.

Suspending a job causes your job to go into USUSP state if the job is already started, or to go into PSUSP state if your job is pending.

By default, 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 can resume jobs suspended by users or administrators. Administrators can also enable users to resume their own jobs that have been stopped by an administrator.

Procedure

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

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