Question & Answer
Question
The bootinfo command does not have a man page, can I use it?
Answer
The command /usr/sbin/bootinfo has traditionally been used to find out information regarding system boot devices, kernel versions, and disk sizes. This command has been deprecated in favor of the command /usr/bin/getconf.
The bootinfo man page has been removed, and the command is only used in AIX by the booting and software installation utilities. It should not be used in customer-created shell scripts or run by hand.
The getconf command will report much of the same information that bootinfo will. Below are some examples of variables which can be queried. The full list is on the getconf man page.
https://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.cmds2/getconf.htm
What was the device the system was last booted from?
$ getconf BOOT_DEVICE
hdisk0
What size is a particular disk in the system?
$ getconf DISK_SIZE /dev/hdisk0
10240
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
Is the system currently running a 64-bit or 32-bit kernel?
$ getconf KERNEL_BITMODE
64
How much real memory does the system have?
$ getconf REAL_MEMORY
524288
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
isg3T1010828