如何查看system 390服务器是31位还是64位

Dan*_*ats 4 linux

我有一台在 s390 硬件上运行 RHEL 的服务器。如何确定服务器是 31 位还是 64 位?

uname -a 给出:

Linux <hostname> 2.6.32-131.17.1.el6.s390x #1 SMP Thu Sep 29 10:42:48 EDT 2011 s390x s390x s390x GNU/Linux
Run Code Online (Sandbox Code Playgroud)

col*_*ete 6

运行getconf LONG_BIT会告诉你它是否是 64 位:

[cole@localhost ~]$getconf LONG_BIT
32
Run Code Online (Sandbox Code Playgroud)