Solaris 32bit / 64bit confusion

Posted by goldenmean on Super User See other posts from Super User or by goldenmean
Published on 2012-05-18T14:25:59Z Indexed on 2012/06/06 16:42 UTC
Read the original article Hit count: 440

Filed under:
|
|

I have a Solaris on a AMD-

uname -a gives

OS Solaris 10 x86_64 (SunOS goldtpus34 5.10 Generic_144489-11

I wanted to find whether it has a 32bit or 64 bit kernel so I did

/usr/bin/isainfo -k

it says

amd64

but when i do

file /sbin/init 

it says

ELF 32-bit LSB executable 80386 Version 1, dynamically linked, stripped

Also if I do file it says

ELF 64-bit LSB executable AMD64 Version 1 [SSE2 SSE FXSR FPU], dynamically linked, not stripped 

So is it possible to have a Kernel working in 64bit mode but System utils/process spawner(init) in 32bit mode.

I am confused.

How to accurately get if the OS Kernel is in 64/32 bit mode on Solaris and on Linux?

© Super User or respective owner

Related posts about 64-bit

Related posts about 32-bit