方法1:getconf LONG_BIT 查看

如下例子所示: 32位Linux系统显示32, 64位Linux系统显示64。最简单、快捷的方法。

[root@DB-Server ~]# getconf LONG_BIT

相信坚持的力量,日复一日的习惯.