how do I find out the system information of UNIX server?

Dear experts,

How do I find out if my UNIX server is 32 or 64 bit? I only know it is SunOX5.8.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I don't beleive that 5.8 (aka Solaris 8) runs on the older 32-bit-only hardware.
if it print sparcv9 it is 64 bit.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
panpioneerAuthor Commented:
Thanks. It print a long line like this:

sparcv9+vis2  sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc

So, is this a 64 bit?
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

Try this command:

/usr/bin/isainfo -kv
Clarification of earlier comment.

Solaris 8 will run 32 bit on old hardware. Some hardware may need a prom upgrade to make it suitable for 64 bit.
panpioneerAuthor Commented:
thanks, but I got different answer from Oracle.
When I used your suggestion to test my machine, I got 64 bit, but Oracle suggests me to use

% cd $ORACLE_HOME/bin
% file oracle ...if 64bit, '64bit' will be indicated.

I got 32 bit. ?
that is your oracle type, not solaris.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.