1. uname -a, armv7l indicates that the system is installed with 32-bit, but the result is not obvious. People who are not familiar with Linux systems cannot tell whether it is 32-bit or 64-bit. Bit
[root@localhost local]# uname -a Linux localhost 3.4.0-perf-g18c6f85 #1 SMP PREEMPT Thu Sep 11 12:05:53 2014 armv7l armv7l armv7l GNU/Linux
2, getconf LONG_BIT (recommended), the result is very intuitive
[root@localhost local]# getconf LONG_BIT 32
Recommended tutorial: linux tutorial
The above is the detailed content of Check how many bits Linux has. For more information, please follow other related articles on the PHP Chinese website!