Home > Article > Operation and Maintenance > How to check whether the system is 32-bit or 64-bit in Linux
Method 1: getconf LONG_BIT View
[root@DB-Server ~]# getconf LONG_BIT
(Recommended tutorial: linux tutorial)
Method 2: uname command to view
As shown in the following example, x86_64 represents a 64-bit system, i686 i386 represents a 32-bit system. i686 is just a subset of i386. The supported CPUs start from Pentium 2 (686). Previous models are not supported.
[root@DB-Server ~]# uname -a Linux DB-Server 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 i686 i386 GNU/Linux [root@DB-Server ~]# uname -m
Related video tutorial recommendations: linux video Tutorial
The above is the detailed content of How to check whether the system is 32-bit or 64-bit in Linux. For more information, please follow other related articles on the PHP Chinese website!