Hardware_bitmode


 
Thread Tools Search this Thread
Operating Systems AIX Hardware_bitmode
# 1  
Old 03-04-2008
Hardware_bitmode

Hi guys,

I'm new to AIX and I tried to run this command in my AIX box running OS Level 5100-005:

getconf HARDWARE_BITMODE

The result of the command is shown as undefined. What does undefined mean? And how can I go about to make it show me the proper result?

Thanks,
Michael.
# 2  
Old 03-04-2008
That means, that the "SystemWideConfiguration parameter" HARDWARE_BITMODE is not defined - this is clearly stated on the manpage of "getconf".
Issue "getconf -a" to get a complete list of all the variables and their values.

I hope this helps.

bakunin
# 3  
Old 03-04-2008
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.
# 4  
Old 03-12-2008
Hi guys,

Here's the output from the prtconf | head command.

Server : SFAP - 10.1.53.2 (Production Server)

System Model: IBM,7038-6M2
Machine Serial Number: 103367A
Processor Type: PowerPC_POWER4
Number Of Processors: 8
Processor Clock Speed: 1200 MHz
CPU Type: 64-bit
Kernel Type: 32-bit
LPAR Info: 1 NULL
Memory Size: 32768 MB
Good Memory Size: 32768 MB

Server : SFAU - 10.1.53.1 (Development/UAT Server)

System Model: IBM,7038-6M2
Machine Serial Number: 65300CA
Processor Type: PowerPC_POWER4
Number Of Processors: 2
Processor Clock Speed: 1200 MHz
CPU Type: 64-bit
Kernel Type: 32-bit
LPAR Info: 1 NULL
Memory Size: 16384 MB
Good Memory Size: 16384 MB

Does this mean that I have a 64-bit machine but a 32-bit operating system?
# 5  
Old 03-12-2008
Quote:
Originally Posted by michael.chow
[...]
System Model: IBM,7038-6M2 [...]

Does this mean that I have a 64-bit machine but a 32-bit operating system?
Do you just want to know which kernel you are using? Try bootinfo -K. And if you find that you use the 32-Bit Kernel you could change it to the 64-Bit Kernel by exchanging two links and a subsequent reboot.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question