IBM Support

IJ03910: TO HAVE A MORE ACCURATE VALUE FOR THE MEMORY IN LINUX TARGETS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When determining the memory on Linux targets, the third used
    command (in case of failure of both "dmidecode (--type memory |
    grep "Size"" and "cat /var/log/dmesg | grep Memory:" commands)
    is "free -m | grep Mem | awk '{print $2}'". The returned output
    is in Mb. TADDM converts it in bytes by multiplying it by 1024
    twice. I think that by substituting the command with "free -b |
    grep Mem | awk '{print $2}'" and avoiding the conversion will
    give us a more accurate result. Please evaluate the suggested
    code change.
    

Local fix

Problem summary

  • When determining the memory on Linux targets, three commands
    are used:
      - dmidecode (--type memory | grep "Size"
      - cat /var/log/dmesg | grep Memory
      - free -m | grep Mem | awk '{print $2}'
    When the first and second commands fail, the third command is
    used, which returns the output in MB. TADDM converts it in
    bytes by multiplying it by 1024 twice. This does not give a
    very accurate value.
    By changing the command to
       - free -b | grep Mem | awk '{print $2}'
    This conversion can be avoided and a more accurate result can
    be obtained.
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    packages:
    | Fix Pack | 7.3.0-TIV-ITADDM-FP0005
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ03910

  • Reported component name

    APP DEPENDENCY

  • Reported component ID

    5724N5500

  • Reported release

    730

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-02-13

  • Closed date

    2018-05-07

  • Last modified date

    2018-05-07

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

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

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    APP DEPENDENCY

  • Fixed component ID

    5724N5500

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSPLFC","label":"Tivoli Application Dependency Discovery Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"730","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 May 2018