Opened 12 years ago

Last modified 7 years ago

#460 new enhancement

IZ2380: stdin for "qacct -f -" and commands like "qconf -Aq -"

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

Description

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

        Issue #:      2380             Platform:     All           Reporter: reuti (reuti)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.1u2            CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     stdin for "qacct -f -" and commands like "qconf -Aq -"
   Status whiteboard:
      Attachments:

     Issue 2380 blocks:
   Votes for issue 2380:


   Opened: Sun Sep 30 13:48:00 -0700 2007 
------------------------


The ususal "-" for stdin should be accepted by "qacct -f -" to read from stdin, which can be the result of a
pipe. In a imilar way it could be ueseful for the qconf commands which start with an uppercase letter to
read from a file, not limited to the mentioned "qconf -Aq -".

   ------- Additional comments from rayson Thu Jul 22 12:46:18 -0700 2010 -------
Is "qacct -f /dev/stdin" good enough for this purpose?


   ------- Additional comments from reuti Thu Jul 22 13:29:03 -0700 2010 -------
I posted this request after a discussion on the users list. I even used:

$ qacct -f <(zcat accounting.1.gz)

before. There are also other workarounds. Using the "-" is just default for stdin in several tools.

http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=44207

Change History (1)

comment:1 Changed 7 years ago by dlove

  • Severity set to minor

Fixed for qacct by [4318]

Note: See TracTickets for help on using tickets.