bootinfo -y 处理器位数 bootinfo -K 内核位数 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 确定系统是否加载了64位的内核扩展,使用命令: # genkex |grep 64 若系统加载了64位的内核扩展,将返回类似下一行的信息: 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时36分43秒 on /dev/pts/1 from 192.168.2.201 Last login: 公元2004年03月15日 星期一 05时18分57秒 on /dev/pts/2 from 192.168.2.99 # prtconf 系统型号: IBM,7025-6F1 机器序列号: 101A00F 处理器类型: PowerPC_RS64-III 处理器数: 2 处理器时钟速度: 451 MHz CPU 类型: 64-bit 内核类型: 32-bit LPAR 信息: -1 NULL 内存大小: 1024 MB 良好内存大小: 1024 MB 固件版本: IBM,M2P01113 控制台登录: enable 自动重新启动: true 完整核心: false 网络信息 主机名: snec IP 地址: 192.168.18.102 子网掩码: 255.255.255.0 网关: 192.168.18.254 名称服务器: 192.168.18.102 域名: snec.com 调页空间信息 总计调页空间: 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 系统对象 + sysplanar0 系统平面 * pci1 P1 PCI 总线 * pci6 P1 PCI 总线 + ent0 P1/E1 IBM 10/100 Mbps 以太网 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 以太网 PCI 适配器(23100020) * pci0 P1 PCI 总线 * isa0 P1 ISA 总线 + fda0 P1/D1 标准 I/O 软盘适配器 + fd0 P1-D1 软盘驱动器 # bootinfo -K 32 # bootinfo -y 64 # df 文件系统 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:引导映象是 18212 个 512 字节块。 # shutdown -Fr 关机程序 公元2004年03月15日 星期一 05时49分39秒 在停止之前等待 '重新引导...'。 已停止错误报告。 
|