bootinfo -y 處理器位數(shù)
bootinfo -K 內(nèi)核位數(shù)
1, How to Switch AIX5.1 from 32-bit to 64-bit:
ln -sf /usr/lib/boot/unix_64 /unix
ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
lslv -m hd5
bosboot -ad /dev/ipldevice
shutdown -Fr
2, How to Switch AIX5.1 from 64-bit to 32-bit:
ln -sf /usr/lib/boot/unix_mp /unix
ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
lslv -m hd5
bosboot -ad /dev/ipldevice
shutdown -Fr
確定系統(tǒng)是否加載了64位的內(nèi)核擴(kuò)展,使用命令:
# genkex |grep 64
若系統(tǒng)加載了64位的內(nèi)核擴(kuò)展,將返回類似下一行的信息:
149bf58 a3ec /usr/lib/drivers/syscalls64.ext
AIX Version 5
(C) Copyrights by IBM and by others 1982, 2002.
login: root
root's Password:
******************************************************************************
* *
* *
* Welcome to AIX Version 5.2! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
******************************************************************************
Last unsuccessful login: 公元2004年03月14日 星期日 11時(shí)36分43秒 on
/dev/pts/1 from 192.168.2.201
Last login: 公元2004年03月15日 星期一 05時(shí)18分57秒 on /dev/pts/2 from
192.168.2.99
# prtconf
系統(tǒng)型號(hào): IBM,7025-6F1
機(jī)器序列號(hào): 101A00F
處理器類型: PowerPC_RS64-III
處理器數(shù): 2
處理器時(shí)鐘速度: 451 MHz
CPU 類型: 64-bit
內(nèi)核類型: 32-bit
LPAR 信息: -1 NULL
內(nèi)存大小: 1024 MB
良好內(nèi)存大小: 1024 MB
固件版本: IBM,M2P01113
控制臺(tái)登錄: enable
自動(dòng)重新啟動(dòng): true
完整核心: false
網(wǎng)絡(luò)信息
主機(jī)名: snec
IP 地址: 192.168.18.102
子網(wǎng)掩碼: 255.255.255.0
網(wǎng)關(guān): 192.168.18.254
名稱服務(wù)器: 192.168.18.102
域名: snec.com
調(diào)頁(yè)空間信息
總計(jì)調(diào)頁(yè)空間: 512MB
使用的百分比: 1%
卷組信息
==============================================================================
datavg:
PV_NAME PV STATE TOTAL PPs FREE PPs
FREE DISTRIBUTION
hdisk1 active 271 143
55..00..00..34..54
==============================================================================
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs
FREE DISTRIBUTION
hdisk0 active 542 445
108..100..20..108..109
==============================================================================
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
* = Diagnostic support not available.
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
+ sys0 系統(tǒng)對(duì)象
+ sysplanar0 系統(tǒng)平面
* pci1 P1 PCI 總線
* pci6 P1 PCI 總線
+ ent0 P1/E1 IBM 10/100 Mbps 以太網(wǎng) PCI
適配器(23100020)
* pci7 P1 PCI 總線
* pci8 P1 PCI 總線
* pci9 P1 PCI 總線
+ mg20 P1-I6/G1 GXT130P 圖形適配器
* pci10 P1 PCI 總線
* pci11 P1 PCI 總線
* pci12 P1 PCI 總線
* pci13 P1 PCI 總線
+ ent1 P1-I9/E1 IBM 10/100 Mbps 以太網(wǎng) PCI
適配器(23100020)
* pci0 P1 PCI 總線
* isa0 P1 ISA 總線
+ fda0 P1/D1 標(biāo)準(zhǔn) I/O 軟盤適配器
+ fd0 P1-D1 軟盤驅(qū)動(dòng)器
# bootinfo -K
32
# bootinfo -y
64
# df
文件系統(tǒng) 512 塊 可用 %Used Iused %Iused 安裝于
/dev/hd4 131072 104352 21% 1419 5% /
/dev/hd2 10747904 8846808 18% 23908 2% /usr
/dev/hd9var 131072 116200 12% 416 3% /var
/dev/hd3 131072 126840 4% 27 1% /tmp
/dev/hd1 131072 126808 4% 18 1% /home
/proc - - - - - /proc
/dev/hd10opt 131072 111976 15% 356 3% /opt
# ln -sf /usr/lib/boot/unix_64 /unix
# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
# lslv -m hd5
hd5:N/A
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0001 hdisk0
# bosboot -ad /dev/ipldevice
bosboot:引導(dǎo)映象是 18212 個(gè) 512 字節(jié)塊。
# shutdown -Fr
關(guān)機(jī)程序
公元2004年03月15日 星期一 05時(shí)49分39秒
在停止之前等待 '重新引導(dǎo)...'。
已停止錯(cuò)誤報(bào)告。