IBM Support

IV57513: KSH93 TIME CMD WHEN USED IN PARENTHESES PRINTS NEGATIVE VALUES. APPLIES TO AIX 7100-01

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • on AIX 71 When shell time command used in parentheses, it
    could print negative values.
    for example
    
    (time echo "vmstat" | kdb) >/dev/null
        real    0m0.86s
        user    0m0.-1s    << Here]]
        sys     0m0.-1s    << Here]]
    

Local fix

  • Don't use parentheses or use /user/bin/time or use ksh
    instead of ksh93
    

Problem summary

  • KSH93 TIME CMD WHEN USED IN PARENTHESES PRINTS NEGATIVE VALUES.
    

Problem conclusion

  • Code fixed to compute the times correctly when a subshell
    executes the command.
    

Temporary fix

Comments

  • 7100-01 - use AIX APAR IV57513
    7100-02 - use AIX APAR IV51276
    7100-03 - use AIX APAR IV54156
    7100-04 - use AIX APAR IV54206
    

APAR Information

  • APAR number

    IV57513

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-03-26

  • Closed date

    2014-03-26

  • Last modified date

    2016-05-10

  • APAR is sysrouted FROM one or more of the following:

    IV51276

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U861822

       UP14/08/12 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 May 2016