Tuesday, August 25, 2015

getconf vs bootinfo commands in aix?

getconf vs bootinfo commands in aix?


We are not suppose to use bootinfo commads as it is deprecated. Some of the banking project, they wont use bootinfo commands. Lets see the equvalent command for bootinfo.


Description
GETCONF
BOOTINFO
To find out last boot device
getconf BOOT_DEVICE 
bootinfo -b
To find out the size of the disks
getconf DISK_SIZE /dev/hdisk0   
bootinfo -s hdisk0
To find out the real memory
getconf REAL_MEMORY
bootinfo -r
To find hardware bit mode
getconf HARDWARE_BITMODE   
bootinfo –K
To find out the kernal bit mode
getconf KERNEL_BITMODE
bootinfo -y



if you happy with the above article, please leave your reactions/comments