03-04-2008
552,
44
Join Date: Sep 2006
Last Activity: 29 July 2019, 9:17 PM EDT
Posts: 552
Thanks Given: 21
Thanked 44 Times in 40 Posts
Looking at the getconf command reference for AIX 5.1 your variable, HARDWARE_BITMODE, does not seem to be valid, hence the undefined message.
Looking in the getconf command reference for AIX 5.2 we see the variable, so it was probably only added in AIX 5.2.
It seems you want to know if the machine is 64bit capable but the only other way I can think of finding this from the command line is with bootinfo -y but again the -y switch was only added in AIX 5.2.
If you post your machine type and model we can look it up for you.
prtconf | head
should show the machine and model.
Just about every machine since the 7026 H70 has been a 64 bit machine.