IBM Support

IV66630: SAR -P ALL OUTPUT MAY NOT PRINT ALL CPUS APPLIES TO AIX 7100-03

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

  • 6100-08 - use AIX APAR IV70053
    6100-09 - use AIX APAR IV68366
    7100-02 - use AIX APAR IV70205
    7100-03 - use AIX APAR IV66630
    7100-03 - use AIX APAR IV66630
    

APAR Information

  • APAR number

    IV66630

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-11-06

  • Closed date

    2015-01-07

  • Last modified date

    2015-09-30

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U865829

       UP15/05/19 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV66630

Modified date: 30 September 2015