Solved

Figuring out system info in AIX

Posted on 2001-09-05
5
227 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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 …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.:

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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now