bjdepinfo
Displays job dependencies.
Synopsis
bjdepinfo [-r level] [-l] [-p] job_ID | "job_ID[index]"Description
The command bjdepinfo displays all or selected job dependencies. You can get a list of other jobs that a job depends on (parent jobs) and jobs that depend on your job (child jobs). The command can also show if the job dependency condition was not satisfied.
The parent-child relationship does not indicate that one or more jobs are created by other jobs. A job dependency is when the start of a job depends on the status of other jobs.
Options
- job_ID | "job_ID[index]"
Required. Job ID of the job or job array on which to operate.
If you specify only a job ID for a job array, information about all jobs in the array is displayed.
Displays all jobs that this job depends on.
- -r level
When combined with -p, prints the parent jobs that cause the current job to pend recursively.
When combined with -c, prints the child jobs that depend on the current job recursively.
When combined with -l, prints detailed parent job dependency information recursively. When combined with -l and -p, prints detailed information about the parent jobs that cause the current job to pend recursively.
In each case, you can specify the level by using a positive integer. Level indicates the number of degrees of separation from the original job.
For example, specify level 1 to see any jobs that directly depend on this job or that this job depends on. Specify level 2 if you also want to see all dependencies on the jobs that have a dependency on the originally specified job.
If the job was partially cleaned, an asterisk (*) is displayed before the status, and the job name is unavailable (-).
- -l
For the job that you specify, shows the detailed parent job dependency information, including the condition of the job and whether a job’s dependency requirements were satisfied.
- -p
Shows the parent jobs that cause the current job to pend.
- -c
Shows any child jobs of the job you specify and as any dependencies they have.
- -h
Prints command usage to stderr and exits.
- -V
Prints LSF release version to stderr and exits.
Output
- JOBID
The job ID of the job with a parent or child dependency.
- PARENT
The job ID of the job that has other dependent jobs.
- CHILD
The job ID of the job that depends on other jobs.
- PARENT_STATUS
The status of the parent job listed. If the job was partially cleaned, an asterisk (*) is displayed before the status, and the job name is unavailable (-).
- CHILD_STATUS
The status of the child job listed.
- PARENT_NAME
The name of the parent job listed. If the job was partially cleaned, an asterisk (*) is displayed before the status, and the job name is unavailable (-).
- CHILD_NAME
The name of the child job listed.
- LEVEL
The degrees of separation of job dependencies. 1 means that a job is directly dependent; other numbers indicate the levels of indirect dependency.