IBM Support

IV68362: SAR -P ALL OUTPUT MAY NOT PRINT ALL CPUS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CPUs disappear from the output of sar -PALL.In that case,
    physc of "-", which means an entire system, goes up in
    spite of no loads on all CPUs which are shown in sar.
    
        # sar -P ALL 1 10
        AIX xv750h 1 7 00F605844C00    09/12/14
        System configuration: lcpu=8 ent=0.50 mode=Uncapped
        19:15:54 cpu    %usr    %sys    %wio   %idle   physc
     %entc
        19:15:55  0       17      56       0      27    0.00
       0.8
                  1        0       7       0      93    0.00
       0.3
                  2        0       8       0      92    0.00
       0.3
                  3        0       6       0      94    0.00
       0.3
                  4        0       0       0     100    0.12
      23.1
                  5        0       0       0     100    0.12
      23.6
                  6        0       0       0     100    0.12
      24.8
                  7      100       0       0       0    0.40
      80.5 << Heavy
        load on CPU7.
                  -       53       0       0      46    0.77
     153.6
        19:15:56  0       12      59       0      28    0.00
       0.8
                  1        0       4       0      96    0.00
       0.3
                  2        0       8       0      92    0.00
       0.3
                  3        0       5       0      95    0.00
       0.3
                  4        0      48       0      52    0.00
       0.1
                  5        0      20       0      80    0.00
       0.1
                  6        0       4       0      96    0.00
       0.1
                  U        -       -       0      98    0.49
      98.1 << No load
        on CPU7, so CPU7 disappears.
                  -        0       1       0      99    0.01
       1.9 << And
        physc of global('-') goes down.
        19:15:57  0       11      59       0      30    0.00
       0.7
                  1        0       5       0      95    0.00
       0.3
                  2        0       6       0      94    0.00
       0.3
                  3        0       7       0      93    0.00
       0.3
                  4        0       1       0      99    0.02
       5.0
                  U        -       -       0      83    0.40
      80.1
                  -       13       0       0      86    0.10
      19.9
        19:15:58  0       11      58       0      32    0.00
       0.7
                  1        0       6       0      94    0.00
       0.3
                  2        0      11       0      89    0.00
       0.3
                  3        0       6       0      94    0.00
       0.3
                  4        0       0       0     100    0.17
      33.7
                  -       49       0       0      51    0.84
     168.6 << No load
        on all CPUs but physc('-') goes up.
        CPU7 should have the high load due by the test
    program, but it
        doesn't show up in sar's output. Then, just physc of
    ('-') goes
        up in spite of no loads on all CPUs which are shown
    in sar
        at 19:15:58.
    

Local fix

  • use mpstat command instead of sar.
    

Problem summary

  • In sar output,if a CPU's output disappears because of no load,
    then it would never appear in the output again even though you
    put load on it.
    

Problem conclusion

  • Appropriate code changes so that in sar output,if CPU
    disappears because of no load,now it will appear in the output
    again in case of load on that CPU again.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68362

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2015-01-07

  • Closed date

    2015-01-07

  • Last modified date

    2015-11-22

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

    IV66630

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

       UP15/11/22 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:
22 November 2015