job_id

Specifies the jobs or job arrays that bjobs displays.

Synopsis

bjobs [options] [job_id | "job_id[index_list]" ... ]

Description

If you use -A, specify job array IDs without the index list.

In LSF multicluster capability job forwarding mode, you can use the local job ID and cluster name to retrieve the job details from the remote cluster. The query syntax is:

bjobs submission_job_id@submission_cluster_name

For job arrays, the query syntax is:

bjobs "submission_job_id[index]"@submission_cluster_name

The advantage of using submission_job_id@submission_cluster_name instead of bjobs -l job_id is that you can use submission_job_id@submission_cluster_name as an alias to query a local job in the execution cluster without knowing the local job ID in the execution cluster. The bjobs output is identical no matter which job ID you use (local job ID or submission_job_id@submission_cluster_name).

You can use bjobs 0 to find all jobs in your local cluster, but bjobs 0@submission_cluster_name is not supported.

Examples

bjobs 101 102 203 509

Display jobs with job_ID 101, 102, 203, and 509.

bjobs -X 101 102 203 509

Display jobs with job ID 101, 102, 203, and 509 as uncondensed output even if these jobs belong to hosts in condensed groups.