Latest News

Michael in the Morning

MichaelAM: oslevel tricks & hints Print E-mail
User Rating: / 3
PoorBest 

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 Embarassed, 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       
 

 
< Prev   Next >
Service Bulletins
AIX 6.1 TL06 (421)  AIX 7.1 TL00 (340) 
AIX 6.1 TL07 (673)  AIX 7.1 TL01 (559) 
AIX 6.1 TL08 (80)  AIX 7.1 TL02 (70) 
InfoCenters
AIX 5.1/5.2 (459)  ALL InfoCenters (719) 
AIX 5.3 (1'130)  Director 6.3 (411) 
AIX 6.1 (1'103)  Hardware (732) 
AIX 7.1 (926)  HMC Command Line Manuals (0) 



eXTReMe Tracker

Terms of Use and Privacy and Security Policies
Copyright 2001-2012 Michael Felt, John R Peck and ROOTVG.NET

Legacy PDFs

AIX 5.2
AIX 5.1