1748111 Members
3676 Online
108758 Solutions
New Discussion юеВ

Linux kernel - 32/64 bit

 
SOLVED
Go to solution
MikeL_4
Super Advisor

Linux kernel - 32/64 bit

How can you tell in Linux if the server is running 32 or 64 bit ??
5 REPLIES 5
John Poff
Honored Contributor
Solution

Re: Linux kernel - 32/64 bit

One way to tell is by doing a 'uname -a'. If you are running a 64-bit kernel you'll probably see 'x86_64' instead of 'i686' or 'i386', assuming you are running on an Intel processor.

JP
skt_skt
Honored Contributor

Re: Linux kernel - 32/64 bit

from 32bit kernel

# getconf LONG_BIT
32


from 64bit kernel
# ssh adeld170n "getconf LONG_BIT"
64
Jeeshan
Honored Contributor

Re: Linux kernel - 32/64 bit

Wou can check commands like below

1. uname -a

2. file /sbin/init

3. cat /etc/redhat-release

a warrior never quits
MikeL_4
Super Advisor

Re: Linux kernel - 32/64 bit

Thanks
Alex Samad
Frequent Advisor

Re: Linux kernel - 32/64 bit

arch