Skip to main content

qbmigrate

Description

qbmigrate requests the Supervisor to tell a job to release its host immediately. This job is then restricted from starting on the same host(s) again for the duration of supervisor_migrate_timeout.

Usage

qbmigrate [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
--workMigrate work (default: on)
--subjobMigrate subjobs (default: on)
--runningMigrate running jobs
--pendingMigrate pending jobs
--user stringMigrate jobs for user string
--type string --prototype stringMigrate jobs with string type
--status stringMigrate jobs with string status (ex. pending)
--name stringMigrate jobs with string name
--kind stringMigrate jobs of string kind
--pid intMigrate jobs with process ID int
--pgrp intMigrate jobs in int process group
--priority intMigrate jobs with int priority
--cluster stringMigrate jobs in string cluster
--cpus intMigrate jobs with a total of int subjobs
--xmlOutput in XML format
--helpCommand help
--versionCommand version

Notes

This command only works on running jobs.

Examples

Migrate only subjob 12354.0:

% qbmigrate 12354.0

Migrate all subjobs in 12345:

% qbmigrate 12345

Migrate all of anthony's jobs:

% qbmigrate --user anthony 0

Migrate all of anthony's jobs which are running:

% qbmigrate --running --user anthony 0

See also