Skip to main content

qbmodify

Description

qbmodify requests the Supervisor to modify a list of jobs.

Usage

qbmodify [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
--runningModify running jobs
--pendingModify pending jobs
--blockedModify blocked jobs
--suspendedModify suspended jobs
--activeModify active (running,pending,blocked) jobs
--mname stringModify job name to string
--mpriority intModify job priority to int
--mrequirements stringModify job requirements to string
--mrestrictions stringModify job restrictions to string
--mreservations stringModify job reservations to string
--mcluster stringModify cluster to string
--mcpus intModify requested number of instances to int
--mmax_cpus int (or "*")Modify max number of instances ("*" means "no limit")
--mgroups string,...Modify host groups to string list
--mhosts string,...Modify host list to string list
--mhostorder stringModify host order specification to string
--mtimeout intModify timeout limit to int seconds
--magenda_timeout [timeout]modify agenda timeout limit
--mretrysubjob [retry]modify subjob retry count
--mretrywork [retry]modify work retry count
--mretrywork_delay [delay]modify work retry delay (in seconds)
--mmailaddress [mail]modify email address
--mnotes [notes]modify job notes
--mpgrp [pgrp]modify job pgrp
--mprod_show [show]modify production show name
--mprod_shot [shot]modify production shot name
--mprod_seq [seq]modify production seq name
--mprod_client [client]modify production client name
--mprod_dept [dept]modify production dept name
--mprod_custom1 [data]modify production custom data 1
--mprod_custom2 [data]modify production custom data 2
--mprod_custom3 [data]modify production custom data 3
--mprod_custom4 [data]modify production custom data 4
--mprod_custom5 [data]modify production custom data 5
--qinterruptInterrupt the modified jobs
--qpreemptPreempt the modified jobs
--qblockBlock the modified jobs
--user stringModify jobs for user string
--type string --prototype stringModify jobs with string type
--status stringModify jobs with string status (ex. pending)
--name stringModify jobs with string name
--kind stringModify jobs of string kind
--pid intModify jobs with process ID int
--pgrp intModify jobs in int process group
--priority intModify jobs with int priority
--cluster stringModify jobs in string cluster
--cpus intModify jobs with a total of int subjobs
--xmlOutput in XML format
--helpCommand help
--versionCommand version

Notes

Examples

Modify job 12345 to priority 10:

% qbmodify --mpriority 10 12345

Modify all of user anthony's jobs to request 3 CPUs:

% qbmodify --user anthony --mcpus 3 0

See also

qbpreempt

qbpreemptqbblock

qbinterrupt