您的位置:首页 > 大数据 > 人工智能

AIX bootinfo命令

2012-10-28 22:12 302 查看
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 否
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: