Opened 9 years ago

Last modified 7 years ago

#810 new defect

IZ3273: global sge_qstat "-u *" can't be limited by a personal ~/.sge_qstat "-u reuti"

Reported by: reuti Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u5
Severity: minor Keywords: clients
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3273]

        Issue #:      3273             Platform:     All      Reporter: reuti (reuti)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.2u5       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     global sge_qstat "-u *" can't be limited by a personal ~/.sge_qstat "-u reuti"
   Status whiteboard:
      Attachments:

     Issue 3273 blocks:
   Votes for issue 3273:


   Opened: Mon Jul 26 23:33:00 -0700 2010 
------------------------


When the admin defined $SGE_ROOT/default/common/sge_qstat with "-u *", it can't be limited again by a personal ~/.sge_qstat "-u reuti". It
can be limited on the command line by such an option though.

Maybe it's a side effect as more than one "-u ..." option on the command line it also only honors the "-u *" one. I.e.:

qstat -u reuti -u "*"
qstat -u "*" -u reuti

yields the same output of a `qstat` of all users.

Change History (1)

comment:1 Changed 7 years ago by dlove

  • Severity set to minor

Like similar options, the union of multiple -u arguments is taken,
i.e. -u A -u B is equivalent to -u A,B and with * present, you get
everything. I'm not sure it's worth the incompatibility and effort to
change that in this case and any others where it might make sense.

parse_multi_stringlist is the place it could be done.

Note: See TracTickets for help on using tickets.