如何看CentOS系统是32位还是64位的?

32位系统:

[root@localhost ~]# file /sbin/init
/sbin/init: ELF 32-bit LSB shared object,Intel 80386,version 1 (SYSV),dynamically linked (uses shared libs),for GNU/Linux 2.6.18,stripped
[root@localhost ~]# file /bin/ls
/bin/ls: ELF 32-bit LSB executable,stripped

64位系统:
[root@localhost ]# file /sbin/init
/sbin/init: ELF 64-bit LSB shared object,x86-64,stripped
[root@localhost ]# file /bin/ls
/bin/ls: ELF 64-bit LSB executable,stripped
[root@localhost ]# uname -a
Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native