Querying and Updating the Operating System Version
The version of the AIX operating system is a digit string in the format of AAAA-BB-CC-DDEE, for example, 5300-08-06-0919.
- AAAA: indicates the AIX release version.
- BB: indicates a technical level (TL).
- CC: indicates a service package (SP).
- DDEE: indicates a release number, where DD indicates the last two digits of the release year and EE indicates the release week.
For example, if AIX 6.1TL6 SP3 was released in the 48th week in 2010, its version is 6100-06-03-1048.
Querying the Current Version
Run the following command to query the current operating system version:
bash-3.00# oslevel -s
6100-05-01-1016
bash-3.00#
(Optional) Querying Files That Must Be Updated Before a System Upgrade
Run the following command to query the files that must be updated before upgrading the current system version to a specific target version:
bash-3.00# oslevel -rl 6100-06
Fileset Actual Level Recommended ML
-----------------------------------------------------------------------------
Java5.ext.java3d 5.0.0.1 5.0.0.175
printers.epsonLQ1600K_CN.rte 6.1.0.0 6.1.6.0
printers.escpj84_JP.rte 6.1.0.0 6.1.6.0
printers.hindi.rte 6.1.0.0 6.1.6.0
printers.hplj-2p_CN.rte 6.1.0.0 6.1.6.0
printers.ibm4332_HI.rte 6.1.0.0 6.1.6.0
printers.ibmgb18030_CN.rte 6.1.0.0 6.1.6.0
printers.ibmuniversal.rte 6.1.0.0 6.1.6.0
printers.starAR2463_CN.rte 6.1.0.0 6.1.6.0
bash-3.00#
This example command return shows the files that must be updated before upgrading the system version to 6100-06.
Viewing the Version of a Software Package
Run the following command to view the version of a software package:
bash-3.00# lslpp -L UltraPath-3.01.015.AIX6.1.ppc_64.rte
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
UltraPath-3.01.015.AIX6.1.ppc_64.rte
3.1.15.1 C F ODM definitions for Array disk
devices
State codes:
A -- Applied.
B -- Broken.
C -- Committed.
E -- EFIX Locked.
O -- Obsolete. (partially migrated to newer version)
? -- Inconsistent State...Run lppchk -v.
Type codes:
F -- Installp Fileset
P -- Product
C -- Component
T -- Feature
R -- RPM Package
E -- Interim Fix
bash-3.00#
This command return shows the version of UltraPath-3.01.015.AIX6.1.ppc_64.rte.