IBM Support

IZ83773: SAR GENERATES INCORRECT AVERAGE OUTPUT APPLIES TO AIX 6100-05

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When running sar command without any flag, it does not
    print or report Average line output correctly.
    
    Here is an example.
    AIX spartana0_vio1 1 6 00CEBFE34C00    01/08/10
    System configuration: lcpu=2 ent=0.20 mode=Uncapped
    00:00:01    %usr    %sys    %wio   %idle   physc   %entc
    00:05:01       9      26       1      64    0.08    41.8
    00:10:01       1      19       0      80    0.05    26.6
    00:15:01       1      14       0      86    0.04    19.9
       ....
    14:20:00       0      20       0      79    0.06    30.7
    Average        0       0     0     100 87321.68
    43660841.7
    
    # sar
    
    AIX kern5 1 6 00C2B06E4C00    03/04/10
    
    System configuration: lcpu=2 ent=0.40 mode=Capped
    
    22:12:31    %usr    %sys    %wio   %idle   physc   %entc
    22:12:32       0       1       0      99    0.00     1.2
    22:12:33       0       0       0     100    0.00     1.0
    22:12:34       0       1       0      99    0.00     1.1
    22:12:35       0       0       0     100    0.00     0.9
    22:12:36      34       5       0      61    0.17    42.5
    ...
    22:12:50       0       1       0      99    0.00     1.2
    

Local fix

  • Use POSIX TZ variable (eg TZ=CST6CDT)
    

Problem summary

  • sar command gives incorrect average values when olson time
    zone is used
    

Problem conclusion

  • After memory allocation ,memory is initialised to 0.
    This is mentioned in the above part of the defect.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ83773

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2010-08-30

  • Closed date

    2010-08-30

  • Last modified date

    2013-03-28

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

    IZ72893

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

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U836671

       UP10/10/15 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":"610","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":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 March 2013