IBM Support

IZ98561: PS -O ARGS,PRINTS SPACE AT THE END WHEN THE OUTPUT IS NOT A TTY 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

  • Fix for IZ59098 introduced an extra space when ps output
    is not a TTY. An extra space is added at the end of the
    line that can make some customer scripts fails.
    With IZ59098 echo "-$( ps -p$$ -o args=)-" output
    --ksh -
         ^extra space
    Previously it was giving echo "-$( ps -p$$ -o args=)-"
    --ksh-
    

Local fix

Problem summary

  • PS -O ARGS,PRINTS SPACE AT THE END WHEN THE OUTPUT IS NOT A TTY
    

Problem conclusion

  • Modified code to remove the trailing extra space added by ps
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ98561

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2011-04-07

  • Closed date

    2011-04-07

  • Last modified date

    2013-04-16

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

    IZ96145

  • 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 U838176

       UP11/10/05 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:
16 April 2013