?
Solved

Figuring out system info in AIX

Posted on 2001-09-05
5
Medium Priority
?
253 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 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

750 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