Check to see if Aix is 32-bit or 64-bit. 64-bit and 32-bit kernel switching in Aix 5L 5.1
AIX 5L 5.1, rs/6000, pseries
Question: How to switch between 64-bit and 32-bit kernel in Aix 5L 5.1
Answer: First use the following command to determine the current kernel being used:
# ls-l/unix
lrwxrwxrwx 1 root system may 2001/unix->; The/USR/LIB/BOOT/UNIX_MP is a 32-bit kernel.
# ls-l/unix
lrwxrwxrwx 1 root system may 2001/unix->; /usr/lib/boot/unix_64
is a 64-bit kernel.
See if a 64-bit kernel (BOS.MP64) or 32-bit kernel (BOS.MP) package is installed.
If it is not installed, it can be installed from the AIX 5L operating system CD.
(1) Convert 32-bit kernel to 64-bit kernel.
Ln-sf/usr/lib/boot/unix_64/unix
Ln-sf/usr/lib/boot/unix_64/usr/lib/boot/unix
Bosboot-ad/dev/ipldevice
Shutdown-fr
(2) Convert 64-bit kernel to 32-bit kernel.
Ln-sf/usr/lib/boot/unix_mp/unix
Ln-sf/usr/lib/boot/unix_mp/usr/lib/boot/unix
Bosboot-ad/dev/ipldevice
Shutdown-fr
Note: A 32-bit system cannot use a 64-bit kernel, and a 64-bit system can use a 32-bit kernel.
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/unix/