您的位置:首页 > 运维架构 > Linux

如何判断LINUX系统是64位还是32位

2012-09-21 16:30 621 查看
# uname -a

Linux szmlserver95_82.easou.com 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

--x86_64 说明了是64位

# getconf LONG_BIT

64

--这里的64也说明了是64位的

# file /sbin/init

/sbin/init: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

--64-bit 也说明了是64位
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: