man ibmlslpp




NAME

  ibmlslpp - compare AIX 'lslpp -Lc' listings


SYNOPSIS

  ibmlslpp [-options] [-filters]


DESCRIPTION

  The  ibmlslpp command compares 'lslpp -Lc' listings generated on IBM
  AIX systems.  One or more files is specified with the '-f' option.

  For using the defined filters, the first line of the file(s)  should
  contain:
    HOS='hostname'
    OSR='oslevel -r'
    TYP=whatever
    OSL='oslevel'
    UNA='uname -aL'
    echo "#hostname:$HOS:oslevel:$OSR:$TYP:$OSL:uname:$UNA"
    #hostname:b1n6:oslevel:5200-05:whatever:5.2.0.0:uname:AIX b1n6 2 5
  00203FBA4C00 1 b1n6

  Followed by the 'lslpp -Lc' output.

  If the filtering line is not provided,  the  command  will  use  the
  filename  as  the  node identifier and will not distiguish any other
  filters.


OPTIONS

  -files file1[,file2...]
         Input lslpp listings, comma or white-space separated.

  -output output-file
         To specify output file, defaults to stdout.

  -verbose
         Verbose option to display filters.

  -debug Debugging information.

  -single
         No space between host columns.

  -Fileset
         Sort products by fileset name.

  -page lines
         Redisplay host headers after specified number of lines.

  -?      Display terse help message.


FILTERS

  -type type1[,type2...]
         Hardware type(s) to report on.

  +type type1[,type2...]
         Hardware type(s) to exclude.

  -software version1[,version2...]
         Software version(s) to report on.

  +software version1[,version2...]
         Software version(s) to exlcude.

  -host host1[,host2...]
         Host name(s) to report on.

  +host host1[,host2...]
         Host name(s) to exclude.

  -name fileset1[,fileset2...]
         Fileset name(s) to report on.

  +name fileset1[,fileset2...]
         Fileset name(s) to exclude.

  -match Matched hosts (fileset on all hosts) not reported.


EXAMPLES

   csmberg: ibmlslpp -m -f "'ls b1*Cur c*Cur'"  -name  vac.*  |  uakce
  -k1,44

   5200-05

   c b b b b b b b b :    9 hosts
   s 1 1 1 1 1 1 1 1 :   15 total filesets
   m n n n n n n n n :
   b 3 4 5 6 1 2 8 9 :
   e                 :
   r                 :
   g                 :

   C - - - - - - - - :6.0.0.10 vac.C
   - C C C C C C C C :6.0.0.8  vac.C
   C - - - - - - - - :6.0.0.0  vac.Dt.common
   C - - - - - - - - :6.0.0.0  vac.Dt.help
   - C C C C C C C C :6.0.0.6  vac.ndi
   C - - - - - - - - :6.0.0.7  vac.ndi

   9 of 15 products installed on all 9 hosts

   csmberg:  ibmlslpp     -f  "'ls  b1*Cur  c*Cur'" -name xlf* | uakce
  -k1,44

   5200-05

   c b b b b b b b b :    9 hosts
   s 1 1 1 1 1 1 1 1 :   13 total filesets
   m n n n n n n n n :
   b 3 4 5 6 1 2 8 9 :
   e                 :
   r                 :
   g                 :

   C C C C C C C C C :8.1.1.4 xlf.ndi
   - C C C C C C C C :8.1.1.6 xlfcmp
   C - - - - - - - - :8.1.1.8 xlfcmp
   C C C C C C C C C :8.1.1.0 xlfcmp.html.en_US
   C C C C C C C C C :8.1.1.0 xlfcmp.idebug.htm
   C C C C C C C C C :8.1.1.3 xlfcmp.msg.en_US
   C C C C C C C C C :8.1.1.0 xlfcmp.pdf.en_US
   C C C C C C C C C :8.1.1.0 xlfcmp.ps.en_US
   - C C C C C C C C :8.1.1.6 xlfrte
   C - - - - - - - - :8.1.1.8 xlfrte
   - C C C C C C C C :8.1.1.5 xlfrte.aix51
   C - - - - - - - - :8.1.1.7 xlfrte.aix51
   C C C C C C C C C :8.1.1.1 xlfrte.msg.en_US

   7 of 13 products installed on all 9 hosts


NOTES

  Suggestions for enhancements or  bug  reports  can  be  directed  to
  kurt.carlson@alaska.edu.

  This  command  utilizes  the cci command parser utilized by non-UNIX
  operating systems instead of the traditional UNIX getopt()  parsing.
  Options have been defined to "look like" UNIX style options, but can
  be spelled out or generally abbreviated.  For example  '-o'  is  the
  same  as  '-output'.  Because of this multiple options must be space
  separated and the hyphen is part of the option name.   Also  because
  of this order of options is irrelevant.

  At  ARSC the ibmlslpp is run from the sp_node.ksh script in the sys-
  mon.<MS> crontab.

  Output at ARSC is collected on <MS> in:
    /var/local/output/sysmon/cfg/.


ACKNOWLEDGEMENTS

  Written at the University of Alaska.