jobsub_rm¶
Use jobsub_rm command to remove a job from the queue.
$jobsub_rm -h Usage: jobsub_rm [Client Options] Options: --version show program's version number and exit Client Options: -G <Group/Experiment/Subgroup>, --group=<Group/Experiment/Subgroup> Group/Experiment/Subgroup for priorities and accounting --jobsub-server=<JobSub Server> Alternate location of JobSub server to use --role=<VOMS Role> VOMS Role for priorities and accounting --jobid=<Job ID> CSV list of Job Ids to remove. Job Ids have format of (cluster).(process)@(schedd_name). If Job id has a decimal point but no process (example) 1234.@fifebatch.fnal.gov then ALL job ids with that cluster and schedd name will be removed --debug Print debug messages including server contacted, http response, response time -h, --help Show this help message and exit --user=<user ID> remove all jobs with this uid --constraint=<constraint> remove all jobs with this constraint --forcex forcibly remove jobs currently in "X" state REQUIRED arguments to remove jobs are (-G AND (--jobid OR --user OR --constraint)). Please direct questions, comments, or problems to the service desk. For help on --jobid or --constraint see https://cdcvs.fnal.gov/redmine/projects/jobsub/wiki/Frequently_Asked_Questions
Usage Example¶
$ jobsub_q -G nova Server response code: 200 Response OUTPUT: 323.0@fifebatch2.fnal.gov dbox 06/09 16:28 0+00:00:00 H 0 0.0 nova.sh_20140609_162840_8980_0_1_wrap.sh 324.0@fifebatch2.fnal.gov dbox 06/09 16:28 0+00:00:00 H 0 0.0 nova.sh_20140609_162843_9114_0_1_wrap.sh 325.0@fifebatch2.fnal.gov dbox 06/09 16:28 0+00:00:00 H 0 0.0 nova.sh_20140609_162847_9246_0_1_wrap.sh Remote Listing Processing Time: 0.0907280445099 sec $ jobsub_rm -G nova --jobid 323.0@fifebatch2.fnal.gov,324.0@fifebatch2.fnal.gov,325.0@fifebatch2.fnal.gov Server response code: 200 Response OUTPUT: Performed Remove on 1 jobs matching your request Remote Removal Processing Time: 0.0708208084106 sec Server response code: 200 Response OUTPUT: Performed Remove on 1 jobs matching your request Remote Removal Processing Time: 0.0634789466858 sec Server response code: 200 Response OUTPUT: Performed Remove on 1 jobs matching your request Remote Removal Processing Time: 0.0582299232483 sec $ jobsub_q -G nova Server response code: 200 Response OUTPUT: Remote Listing Processing Time: 0.117295026779 sec