AIX bootinfo命令

bootinfo 没有MAN手册

# man bootinfo
Manual entry for bootinfo not found or not installed.

官方网站也没有找到,不过有一个相同的提问:

http://www-01.ibm.com/support/docview.wss?uid=isg3T1010828

文章中列出了用getconf获取相同信息的命令示例:

getconf DISK_PARTITION /dev/hdisk0  这条命令没找到对应的bootinfo命令

    What was the device the system was last booted from? 
    $ getconf BOOT_DEVICE 
    hdisk0 
    
    # bootinfo -b 
    hdisk0 
    
    What size is a particular disk in the system? 
    $ getconf DISK_SIZE /dev/hdisk0 
    10240
    
    # bootinfo -s hdisk0       
    140013
    
    What partition size is being used on a disk in the system? 
    $ getconf DISK_PARTITION /dev/hdisk0 
    16
    
    Is the machine capable of running a 64-bit kernel? 
    $ getconf HARDWARE_BITMODE 
    64
    
    #bootinfo -y 
    64
    
    Is the system currently running a 64-bit or 32-bit kernel? 
    $ getconf KERNEL_BITMODE 
    64
    # bootinfo -K 
    64
    
    How much real memory does the system have? 
    $ getconf REAL_MEMORY 
    524288
    
    # bootinfo -r 
    16056320
    

摘抄网络的部分命令及说明:

    bootinfo -s hdisk0 
    返回磁盘大小,可以是本地磁盘,也可以是存储的磁盘,单位是mb  
    
    bootinfo -k(小写) 
    返回当前的启动模式/返回机器的钥匙的位置 
    1 Key is in Secure position. 
    2 Key is in Service position. 
    3 Key is in Normal position. 
    
    bootinfo -K(大写) 
    返回当前系统运行的内核为32位还是64位 
    
    bootinfo -m 
    返回机器类型码 
    
    bootinfo -c 
    -c Displays bootp daemon reply packet information stored with IPL control block. 
    
    bootinfo -t 
    返回当前启动类型 
    1 Disk boot 
    3 CD-ROM boot 
    4 Tape boot 
    5 Network boot 
    
    bootinfo -z 
    返回机器是否支持多处理器 
    0 不支持 
    1 支持 
    
    bootinfo -T 
    返回机器的硬件平台类型,比如rspc 
    
    bootinfo -r 
    返回实际内存容量,单位为kbytes 
    
    bootinfo -b 
    返回最后一次启动的设备 
    
    bootinfo -y 
    返回机器硬件是32位还是64位 
    
    bootinfo -e 
    是否可以从磁带启动 
    1 是 
    0 否

 =========================================

Thanks.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值