Solved

Figuring out system info in AIX

Posted on 2001-09-05
5
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 21

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

707 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