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 否
转载于:https://blog.51cto.com/hunt1574/1040134