方法1:getconf LONG_BIT 查看
[root@arcgis~]# getconf LONG_BIT
64
方法2:uname命令查看
[root@arcgis~]# uname -m
x86_64
[root@arcgis~]# uname -a
Linux augurit 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
方法3: arch命令查看
[root@arcgis~]# arch
x86_64
方法4:file命令查看
[root@arcgis~]# file /bin/ls
/bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=c8ada1f7095f6b2bb7ddc848e088c2d615c3743e, stripped