Learn R Programming

bsub (version 2.0.6)

bkill: Kill jobs

Description

Kill jobs

Usage

bkill(job_id, filter = NULL)

Arguments

job_id

A vector of job IDs or a data frame returned by bjobs().

filter

Regular expression on job names (only the running and pending jobs). It is only used when job_id is not set.

Examples

Run this code
if (FALSE) {
job_id = c(10000000, 10000001, 10000002)  # job ids can be get from `bjobs()`
bkill(job_id)
# kill all jobs (running and pending) of which the names contain "example"
bkill(filter = "example") 
}

Run the code above in your browser using DataLab