IBM Support

IV21024: PMCFG SHOWS GREP USAGE ERROR IF TOPASREC IS NOT RUUNING . APPLIES TO AIX 7100-00

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • pmcfg returns grep usage error when topasrec (local persistent
    ) is not running
    
    
    # ps -aef | grep topasrec
        root 8323266 7930072   4 03:49:07  pts/2  0:00 grep
        topasrec
    
    
    # pwd /var/perf/pm/bin
    
    
    # ./pmcfg usage: grep ■-r ■-R ■-H ■-L ■-E|-F ■-c|-l|-q
    ■-insvxbhwyu ■-p■parasep -e pattern_list...
            ■-f pattern_file... ■file... usage: grep ■-E|-F
    ■-c|-l|-q ■-insvxbhwyu ■-p■parasep ■-e pattern_list...
            -f pattern_file... ■file... usage: grep ■-E|-F
    ■-c|-l|-q ■-insvxbhwyu ■-p■parasep pattern_list ■file...
    

Local fix

Problem summary

  • ./pmcfg
    usage: grep  -r   -R   -H   -L   -E|-F   -c|-l|-q
             -insvxbhwyu   -p parasep   -e pattern_list...
             -f pattern_file...   file...
    

Problem conclusion

  • fixed the code to check if topasrec is running before
    proceeding else exit.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV21024

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2012-05-11

  • Closed date

    2012-05-11

  • Last modified date

    2013-04-10

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

    IV12648

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

       UP12/06/20 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:
10 April 2013