Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

Figuring out system info in AIX

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
damon_s
Asked:
damon_s
1 Solution
 
mrn060900Commented:
Do you wish to identify which programs are 64 or 32 bit, or if your OS is 64 or 32 bit?

Mike
0
 
damon_sAuthor Commented:
figured it out... be root & do #bootinfo -y
0
 
tfewsterCommented:
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
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
 
seanc724Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now