Skip to main content

qbkill

Description

qbkill requests the Supervisor to kill a list of jobs.

Usage

qbkill [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
--workKill work (default: on)
--subjobKill subjobs (default: on)
--runningKill running jobs
--pendingKill pending jobs
--blockedKill blocked jobs
--badloginKill badlogin jobs
--workrunningKill running work
--workpendingKill pending work
--workblockedKill blocked work
--subjobrunningKill running subjobs
--subjobpendingKill pending subjobs
--subjobblockedKill blocked subjobs
--subjobbadloginKill badlogin subjobs
--user stringKill jobs for user string
--type string --prototype stringKill jobs for type string
--status statusKill jobs with string (ex. pending)
--name stringKill jobs named string
--kind stringKill jobs with string
--pid intKill jobs with process ID int
--pgrp intKill jobs in process group int
--priority intKill jobs with priority value int
--cluster stringKill jobs in string cluster
--cpus intKill jobs with a total of int subjobs
--xmlOutput in XML format
--helpCommand help
--versionCommand version

Notes

In order to kill jobs, the user must have either of the following qube privileges:

  • kill
  • admin

Refer to Permissions or qbusers for more detail on the Qube! permission scheme

Examples

Kill only subjob 12354.0:

% qbkill 12354.0

Kill all subjobs in 12345:

% qbkill 12345

Kill all of user anthony's jobs:

% qbkill --user anthony 0

Kill all of user anthony's jobs which are running:

% qbkill --running --user anthony 0

Kill only the jobs which are pending in the list of jobs 11234 1235 and subjob 1236.0:

% qbkill --pending 11234 1235 1236.0

See also

qbinterrupt, qbrequeue