Skip to main content

qbsuspend

Description

qbsuspend issues a suspend command upon the job's processes. Jobs can be resumed using the command qbresume.

Usage

qbsuspend [options] jobID... | 0

where JobID is one or more job IDs, and 0 is a wild card token representing all the user's jobs.

Options

OptionDescription
--runningSuspend running jobs
--subjobrunningSuspend running subjob
--user stringSuspend jobs for user string
--type string --prototype stringSuspend jobs with string type
--status stringSuspend jobs with string status (ex. pending)
--name stringSuspend jobs with string name
--kind stringSuspend jobs of string kind
--pid intSuspend jobs with process ID int
--pgrp intSuspend jobs in int process group
--priority intSuspend jobs with int priority
--cluster stringSuspend jobs in string cluster
--cpus intSuspend jobs with a total of int subjobs
--xmlOutput in XML format
--helpCommand help
--versionCommand version

Notes

This command only works on jobs which are int the running state.

Examples

Suspend only subjob 12354.0:

% qbsuspend 12354.0

Suspend all subjobs in 12345:

% qbsuspend 12345

Suspend all of user anthony's jobs:

% qbsuspend --user anthony 0

See also

qbresume