查看linux系统是32位还是64位

1.1、n@node1 ~]$ uname -a

Linux node1 2.6.9-78.ELsmp #1 SMP Wed Jul 9 15:46:26 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

1.2、n@node1 ~]$ file /bin/ls

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

1.3、@node1 ~]$ getconf LONG_BIT

发表评论

你必须 登录 才能发表评论.