How to find whether system 390 server is 31 bit or 64 bit
I have a server running RHEL on s390 hardware. How do I find whether the server is 31 bit or 64 bit?
uname -a
gives:
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
Solution 1:
Running getconf LONG_BIT
will tell you if it is 64 bit or not:
[cole@localhost ~]$getconf LONG_BIT
32