MichaelAM: oslevel tricks & hints |
|
|
|
Written by Michael Felt
|
Old School
I learned my "check what is missing" trcik(s) years ago - so call me old school that until very recently (read this morning) I was still using the commands:
# instfix -i | grep AIX
# instfix -ciqk 6100-07_AIX_ML | grep :-:
to locate missing filesets. But now I am ...
New School
For years ,
AIX has updated options in the command oslevel to tell you what levels,
including service packs (and maybe more) is already installed.
Comments
|
Command
|
The command I am sure you already know!
List the latest "installed" (service-pack) level, i.e. all requirements are met.
|
oslevel -s
|
List all known (last 10 in this case) installed service packs
|
oslevel -q -s
|
Assuming you see the expected service pack level in the output of the
second command, but not in the first then this command will show which
filesets are missing, i.e. before "oslevel -s" will give the expected
output.
|
oslevel -l "expectedLevel" -s
|
Example
# oslevel -s
6100-07-00-0000
# oslevel -q -s | head -5
Known Service Packs
-------------------
6100-07-03-1207
6100-07-02-1150
6100-07-01-1141
6100-07-00-0000
6100-06-06-1140
# oslevel -l 6100-07-03-1207 -s | head -5
Fileset Actual Level Service Pack Level
-----------------------------------------------------------------------------
X11.base.lib 6.1.7.0 6.1.7.1
X11.base.rte 6.1.7.0 6.1.7.1
X11.compat.lib.X11R6 6.1.6.0 6.1.7.1
X11.compat.lib.X11R6_motif 6.1.6.15 6.1.7.1
X11.motif.lib 6.1.6.15 6.1.7.1
|