IBM Support

IJ48144: IN PS OUTPUT COMMANDS ARGUMENTS MISSING IF ONE ARGUMENT IS NULL APPLIES TO AIX 7300-01

 

APAR status

  • Closed as program error.

Error description

  • running a ps command on processes that have a null
    argument
    will stop listing arguments after that so might be
    missing
    the next ones.
    Example using /tmp/test.ksh :
    #! /bin/ksh
    sleep 100
    Run with :
    # /tmp/test.ksh  1 2 "" A B &
    [1]     7799082
    (0)[tcp100] /tmp
    # ps -o args -p 7799082
    COMMAND
    /bin/ksh /tmp/test.ksh 1 2
    
    Arguments A & B are missing
    

Local fix

Problem summary

  • Running a ps command on processes that have a null
    argument will stop listing arguments after that so might be
    missing
    the next ones.
    Example using /tmp/test.ksh :
    #! /bin/ksh
    sleep 100
    Run with :
    # /tmp/test.ksh  1 2 "" A B &
     1      7799082
    (0) tcp100  /tmp
    # ps -o args -p 7799082
    COMMAND
    /bin/ksh /tmp/test.ksh 1 2
    
    Arguments A & B are missing
    

Problem conclusion

  • Special processing done for the reading the arguments
    /environment variable of the processes that have a null
    argument/environment variable
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ48144

  • Reported component name

    AIX V7.3

  • Reported component ID

    5765CD300

  • Reported release

    730

  • Status

    CLOSED PER

  • HIPER

    NoHIPER

  • Submitted date

    2023-08-25

  • Closed date

    2023-08-25

  • Last modified date

    2024-01-12

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

    IJ40627

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

Fix information

  • Fixed component name

    AIX V7.3

  • Fixed component ID

    5765CD300

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11T","label":"AIX 7.3 HIPERS- APARs and Fixes"},"Platform":[{"code":"PF053","label":"Power Systems"}],"Version":"730","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
12 January 2024