Solaris 32bit / 64bit confusion
- by goldenmean
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?