AIX OS bit info


 
Thread Tools Search this Thread
Operating Systems AIX AIX OS bit info
# 1  
Old 06-10-2009
AIX OS bit info

Hi All,

How do i find a bit info whether 32 bit or 64 bit of AIX operating system?

Please help

R
# 2  
Old 06-10-2009
Check with two commands

bootinfo -y verify the hardware
bootinfo -K verify the kernel

I hope this help
# 3  
Old 06-10-2009
Yes 'bootinfo -y " will work

You can also see by the file '/unix'
# 4  
Old 06-11-2009
Thank you and apologies

I am sorry that I didnt't tell that bootinfo was not working for me.

Code:
bootinfo -y
ksh: bootinfo: 0403-006 Execute permission denied.


Request you to suggest any other alternatives.

Regards,
R
# 5  
Old 06-11-2009
Check the permission of /usr/sbin/bootinfo it should be 550 normally.

You can also check by "ls -l /unix" it will give you like
'/unix -> /usr/lib/boot/unix_64' which means it is 64 bit.
# 6  
Old 06-11-2009
Quote:
Originally Posted by tenderfoot
I am sorry that I didnt't tell that bootinfo was not working for me.[...]
Some commands are meant for root only. As normal user you need to use AIX's public APIs. The AIX default tool for extracting system information is prtconf aka lsconf since AIX 4.3.3. Among other information it returns the CPU Type i.e. whether the hardware is 32-Bit or 64-Bit and the Kernel Type i.e. what kernel you use.
In case you want to use this output in a script that runs with user privileges only you could also look into the lsconf script and you will find that it uses getsystype under the hood. Getsystype is some sort of a sudo wrapper i.e. it allows users to retrieve information that otherwise could be retrieved by root only. E.g. with getsystype -y you get what root gets with bootinfo -y i.e. what hardware you are using and with getsystype -K you get what root gets with bootinfo -K i.e. which kernel you are using.
Looking at the links to /unix as some other poster sugested is useless though as this link can be changed and you might be using a 32-Bit kernel while the links point to the 64-Bit kernel which would be used after the next reboot only or vice versa.
# 7  
Old 06-11-2009
Thank you for quick and detailed response.

Here are few commands I summarised.
Code:
getconf HARDWARE_BITMODE - for hard ware
getconf KERNEL_BITMODE - for kernel
/usr/sbin/prtconf -c
bootinfo -k or -y

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Java 32 bit installation fails on an AIX platform

Hello. It is my first to deal with Java installation on an AIX platform. I am now trying to install Java 32bit using installp command. However, it throws back the message that the installation media cannot be found. I need to install Java 32bit to proceed with an installation of Oracle JD... (0 Replies)
Discussion started by: EJ2019
0 Replies

2. AIX

New to AIX and IBM Hardware. Need some info

Hello all. I'm new to AIX and IBM hardware and I have a question around the configuration of the service processor on the power series. I need to know: 1) How do I get into the service processor from the serial console when AIX is up and running. I come from the Sun world and I tried all I know.... (1 Reply)
Discussion started by: glenc2004
1 Replies

3. AIX

32 bit app on aix 6.1

We have our in house developed software running on AIX 6.1 (6100-06-06-1140). The application is a 32 bit application and the operating system is 64 bit. We are running this application without any issue on AIX 5.3 32-bit on P5. We are facing issue with this application after moving on P7 with aix... (4 Replies)
Discussion started by: vjm
4 Replies

4. AIX

Checking AIX 6.1 edition info

Hi folks, Will you help me getting the edition (standard, express, enterprise) of AIX 6.1 installed. Is there any straight method to find out. i have tried uname oslevel, but no luck, Regards, gjarms (2 Replies)
Discussion started by: gjarms
2 Replies

5. AIX

Unix 64-bit AIX V6.1 Standard Edition

Unix 64bit AIX v6.1 standard edition what do you mean ? function ? pls, help me... (1 Reply)
Discussion started by: khanhphv
1 Replies

6. AIX

Segmentation fault in nsgetcinfo in aix 64-bit c code

Hello, I am running on a AIX5.2 server with Oracle 10g and 9i. My code compiles and works fine in 32-bit mode. The same code compiles in 64-bit and runs good. The program catches CNTRL-C signal to terminate. Only on 64-bit code when i hit CNTRL-C, the program exits with segmentation... (0 Replies)
Discussion started by: sumesh0710
0 Replies

7. AIX

porting an application on 64-bit AIX version 5

Hi all, I am facing problem in porting to 64 bit AIX especially with compiling options to compile and run under 64 bit kernel.Can any one put some light on the issue thanks in advance vishal (14 Replies)
Discussion started by: vishalzone2002
14 Replies

8. Programming

AIX 5.3 64-bit program crashes with AIX 5.1

I have an AIX 64-bit program which uses following from AIX5.3 /usr/lib/libc.a(shr_64.o) /usr/lib/libpthread.a(shr_xpg5_64.o) /home/jeet_xp/export/power/usr/lib/libsarpc.a(shr.o) /unix /usr/lib/libcrypt.a(shr_64.o) /usr/lib/libc_r.a(shr_64.o) ... (3 Replies)
Discussion started by: jeet_xp
3 Replies

9. AIX

pthread library on AIX 5.3 64 bit

Hi, I am running my application on two AIX 5.3 64 bit boxes. In one of the boxes it is running fine without any problems. But on the other box it fails as soon as it is started and it core dumps. When I was analysing the core I was able to find the below two lines in addition to other... (4 Replies)
Discussion started by: allthanksquery
4 Replies

10. AIX

AIX 5.3 , gensyms command, translate 32 bit addr to 64 bit addr

I am trying to map the information from the gensyms command, Its gives information about the various symbols info like symbol type, addr offset, and the main libraries addr starting point. My problem is , how do I map this 32 bit addr to a 64 bit addr, I am trying to extract Segment # information... (0 Replies)
Discussion started by: mrmeswani
0 Replies
Login or Register to Ask a Question