Question & Answer
The bootinfo command does not have a man page, can I use it?
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.
What was the device the system was last booted from?
$ getconf BOOT_DEVICE
What size is a particular disk in the system?
$ getconf DISK_SIZE /dev/hdisk0
What partition size is being used on a disk in the system?
$ getconf DISK_PARTITION /dev/hdisk0
Is the machine capable of running a 64-bit kernel?
$ getconf HARDWARE_BITMODE
Is the system currently running a 64-bit or 32-bit kernel?
$ getconf KERNEL_BITMODE
How much real memory does the system have?
$ getconf REAL_MEMORY
17 June 2018