AIX oslevel version OS

####
oslevel -sq
Known Service Packs
-------------------
7200-02-02-1810 <---- BL TL ML YY WW ---> 7200 02 02 18 10
7200-02-02-1806
7200-02-01-1732
7200-02-01-1731
7200-02-00-0000
7200-01-04-1806
7200-01-03-1720
7200-01-02-1717
7200-01-01-1642
7200-00-06-1806
7200-00-05-1720
7200-00-04-1717
7200-00-03-1642
7200-00-02-1614
7200-00-01-1543


oslevel -s
5300-09-02-0849

This will give you

"5300" - Base Level
"09" - Technology Level
"02" - Maintenance Level
"0849" - Service Pack


function aixversion {
OSLEVEL=$(oslevel -s)
AIXVERSION=$(echo "scale=1; $(echo $OSLEVEL | cut -d'-' -f1)/1000" | bc)
AIXTL=$(echo $OSLEVEL | cut -d'-' -f2 | bc)
AIXSP=$(echo $OSLEVEL | cut -d'-' -f3 | bc)
echo "AIX ${AIXVERSION} - Technology Level ${AIXTL} - Service Pack ${AIXSP}"
}
aixversion

Example output:

AIX 7.1 - Technology Level 3 - Service Pack 1

oslevel -s | awk -F- '{printf "AIX %.1f - Technology Level %d - Service Pack %d\n",$1/1000,$2,$3}'
AIX 7.2 - Technology Level 2 - Service Pack 2

 

https://www.ibm.com/it-infrastructure/power/os/aix

prtconf | grep Firmware
lsmcode -c

https://www.unix.com/aix/134637-how-upgrade-aix-firmware-tl-maintenance-level-aix.html

https://computing.llnl.gov/tutorials/ibm_sp/

https://www.billsden.org/dsi/admin/ibm/install/nim/nim.htm


####

5 (1)
Article Rating (1 Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 87206 times since Thu, Jun 21, 2018
Migrating from SDDPCM to AIXPCM (the easy way)
Viewed 2496 times since Mon, Jun 3, 2019
Authenticate AIX using MS DC’s kerberos servers (Active Directory)
Viewed 2119 times since Thu, Feb 21, 2019
Trick to Purge/Clean Swap Usage on AIX
Viewed 7752 times since Thu, Nov 29, 2018
AIX ODM for MPIO User Guide 09
Viewed 3876 times since Mon, Dec 31, 2018
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 11278 times since Thu, Feb 21, 2019
Many Choices for AIX File Integrity
Viewed 2634 times since Wed, May 30, 2018
Problem on resizing volume group on AIX 0516-1714, 0516-792, 0516-787, and 0516-404
Viewed 2538 times since Fri, Jul 6, 2018
AIX NTP Client configuration
Viewed 11870 times since Tue, Jul 17, 2018
How to determine why your AIX oslevel is downlevel (and a script to help!)
Viewed 4011 times since Fri, Jul 13, 2018