-U

Displays jobs that are associated with the specified advance reservation.

Categories

filter

Synopsis

bjobs -U adv_reservation_id

Description

To view all jobs that are associated with the specified advance reservation, run the -U option with 0 as the job ID.

To see if a single job is associated with an advance reservation, run the -U option with one specified job ID. The output displays the job information only if the job is associated with the specified advance reservation. Otherwise, the output displays an error message.

To see which jobs in a specified list are associated with an advance reservation, run the -U and -l options together with multiple job IDs. The output displays detailed job information only if the jobs are associated with the specified advanced reservation. Otherwise, the output displays an error message for each job that is not associated with the advanced reservation.
Note: To view a list of job IDs, you must use the -U and -l options together. If you use the -U option without -l for multiple job IDs, the output displays all jobs regardless of whether they are associated with the advance reservation unless the job IDs are not valid.

Examples

Displays all jobs that are associated with the reservation ID user1#2:
bjobs -U user1#2 0
Displays one job with ID 101 if it is associated with the reservation ID user1#2:
bjobs -U user1#2 101
Displays any jobs from a specified list (with IDs 101, 102, 103, and 104) that are associated with the reservation ID user1#2:
bjobs -U user1#2 -l 101 102 103 104