Check how many bits Linux has

王林
Release: 2019-11-05 11:21:58
Original
3765 people have browsed it

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
Copy after login

2, getconf LONG_BIT (recommended), the result is very intuitive

  [root@localhost local]# getconf LONG_BIT
  32
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template