查看自己的linux是32位还是64位方法

[root@crmn keepalived]# getconf LONG_BIT
32
[root@crmn keepalived]# 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@crmn keepalived]# uname -a
Linux crmn 2.6.32-696.13.2.el6.i686 #1 SMP Thu Oct 5 20:42:25 UTC 2017 i686 i686 i386 GNU/Linux

posted @ 2017-11-06 13:50  bkycrmn  阅读(67)  评论(0)    收藏  举报