Open topic with navigation

TIBCO GridServer® 7.1.0

# Other PDriver Commands

In addition to `pdriver` and the `bsub` and `bcoll` commands, there are two other utilities you can use when running PDriver jobs.

First, the command `bstatus` returns information about job, batch, and Engine status. For example, type the following command:

    bstatus -jobs

This displays the name, job IDs, tasks, priority, and status of all of the PDriver jobs recently submitted. You can also use the options `batches` and `engines` to display information about recently submitted batches and available Engines.

Another common task is stopping a submitted job. This is a two part task: removing pending jobs, and killing running jobs.

To remove a pending batch job, use the `bcancel` command, along with a batch ID. The batch ID is the same one returned when you initially ran `pdriver -bsub` or `bsub`. If you don’t have the batch ID, you can look at the results of `bstatus -batches` to determine it.

The `bcancel` command removes jobs that are still waiting in the queue for execution, but it can’t stop a job that has already started running and that now exists as one or more tasks on your grid.

To stop a running job, you can use another `bstatus` option called `canceljob`. But instead of the batch ID, you need to determine the Service ID of the job. This can be found by using `bstatus -jobs`, or by looking at the Services > Services > Service Session Admin page in the Administration Tool. To cancel a job, type the following command, where `serviceid` is the Service ID of the job:

    bstatus -canceljob serviceid

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.