Solved

Figuring out system info in AIX

Posted on 2001-09-05
5
234 Views
Last Modified: 2013-12-06
I'm writing a script for software installation & I need to be able to determine if my AIX systems are 32 or 64 bit via some command line something or other...

I looked at lsattr -El sys0 & lscfg -vp...nothing jumps out & screams 'I'm 64 bit' to me.

Is there any method where I can determine this for a ksh script?

TIA!



0
Comment
Question by:damon_s
5 Comments
 
LVL 3

Expert Comment

by:mrn060900
ID: 6460262
Do you wish to identify which programs are 64 or 32 bit, or if your OS is 64 or 32 bit?

Mike
0
 

Author Comment

by:damon_s
ID: 6478423
figured it out... be root & do #bootinfo -y
0
 
LVL 20

Expert Comment

by:tfewster
ID: 7774857
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation for this question in the Cleanup topic area as follows:
- PAQ & refund points

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster (I don't work here, I'm just an Expert :-)
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7864441
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
 

Expert Comment

by:seanc724
ID: 8294331
actually, 'bootinfo -y' tells you if your *processor* is 32-bit or 64-bit...

'bootinfo -K' tells you what in what version the *kernel* is running.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question