Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Kill 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.
Description
Qbkill requests the Supervisor to kill a list of jobs.
Note: this command only works on jobs which are considered active. Jobs which have already completed will be ignored. (ex. complete, killed, failed).
Examples

  1. Kill only subjob 12354.0:

% qbkill 12354.0

  1. Kill all subjobs in 12345:

% qbkill 12345

  1. Kill all of user anthony's jobs:

% qbkill --user anthony 0

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

% qbkill --running --user anthony 0

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

% qbkill --pending 11234 1235 1236.0
Options

Option

Description

--work

Kill work (default: on)

--subjob

Kill subjobs (default: on)

--running

Kill running jobs

--pending

Kill pending jobs

--blocked

Kill blocked jobs

--badlogin

Kill badlogin jobs

--workrunning

Kill running work

--workpending

Kill pending work

--workblocked

Kill blocked work

--subjobrunning

Kill running subjobs

--subjobpending

Kill pending subjobs

--subjobblocked

Kill blocked subjobs

--subjobbadlogin

Kill badlogin subjobs

--user string

Kill jobs for user string

--type string
--prototype string

Kill jobs for type string

--status status

Kill jobs with string (ex. pending)

--name string

Kill jobs named string

--kind string

Kill jobs with string

--pid int

Kill jobs with process ID int

--pgrp int

Kill jobs in process group int

--priority int

Kill jobs with priority value int

--cluster string

Kill jobs in string cluster

--cpus int

Kill jobs with a total of int subjobs

--xml

Output in XML format

--help

Command help

--version

Command version

  • No labels