Home  >  Article  >  Operation and Maintenance  >  Check how many bits Linux has

Check how many bits Linux has

王林
王林Original
2019-11-05 11:21:073750browse

Check how many bits Linux has

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn