微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何看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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。