歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> Unix基礎知識 >> AIX調整內核(32/64)

AIX調整內核(32/64)

日期:2017/3/3 15:21:11   编辑:Unix基礎知識

查看AIX是32位還是64位。在AIX 5L 5.1中進行64位和32位內核的切換

AIX 5L 5.1, RS/6000, pSeries

問題:怎樣在AIX 5L 5.1中進行64位和32位內核的切換

解答:首先用如下命令確定當前的所使用的內核:

# ls -l /unix

lrwxrwxrwx 1 root system 21 May 06 2001 /unix ->; /usr/lib/boot/unix_mp為32位內核。

# ls -l /unix

lrwxrwxrwx 1 root system 21 May 06 2001 /unix ->; /usr/lib/boot/unix_64

為64位內核。

查看是否安裝了64位內核(bos.mp64)或32位內核(bos.mp)的軟件包。

如果沒有安裝,可從AIX 5L操作系統光盤中安裝。

(1)將32位內核轉變為64位內核。

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)將64位內核轉變為32位內核。

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

注意:對32位的系統不能使用64位的內核,對64位的系統可以使用32位的內核。

查看本欄目更多精彩內容:http://www.bianceng.cn/OS/unix/

Copyright © Linux教程網 All Rights Reserved