Opened 7 years ago

Last modified 2 years ago

#1395 new defect

qstat -g c can't be limited by -u, -U, -q, -pe, -l

Reported by: Reuti Owned by:
Priority: normal Milestone:
Component: sge Version: 8.0.0d
Severity: minor Keywords:
Cc:

Description

The man page of qstat explains in the section for the option -g c:

Cluster Queue Format (with -g c)

Following the header line a section for each cluster queue is provided. When queue instances selection are applied (-l
-pe, -q, -U) the cluster format contains only cluster queues of the corresponding queue instances.

This is not working. All queue instances are taken into account, if at least one queue instance exists which fulfills the constraint. E.g.:

$ qstat -g c -q all.q@pc15370
CLUSTER QUEUE CQLOAD USED RES AVAIL TOTAL aoACDS cdsuE


all.q 0.01 0 0 8 8 0 0

While only all.q is displayed (which fine, as there are more queues defined), all queue instances are summarized. The correct output would be 4 instead of 8 here, as 4 slots are defined for all.q on the both hosts.

The same problem exists for the selection of a PE:

$ qstat -g c -pe smp
CLUSTER QUEUE CQLOAD USED RES AVAIL TOTAL aoACDS cdsuE


all.q 0.01 0 0 8 8 0 0
extra.q 0.01 0 0 8 8 0 0

Only one node has the PE attached, not both. Still both are summarized. Some seems to be true for -l, -U and -u.

Change History (0)

Note: See TracTickets for help on using tickets.