How to check whether cpu supports 64-bit by linux
This article mainly introduces linux how to check whether cpu supports 64-bit related knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe that after reading this linux how to check whether cpu supports 64-bit article will have a harvest, let's take a look.
Check whether there is lm in cpuinfo. If there is a lm that supports 64-bit, lm means long mode. The specific command is as follows:
The copy code is as follows:
Cat / proc/cpuinfo | grep flags
Check whether there are lm characters in the output
Or
The copy code is as follows:
Cat / proc/cpuinfo | grep flags | grep lm | wc-l
If the output is greater than 0, 64 bits are supported.
What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.
This is the end of the article on "how to check whether cpu supports 64-bit in linux". Thank you for reading! I believe you all have a certain understanding of "how to check whether linux supports 64-bit cpu". If you want to learn more, you are welcome to follow the industry information channel.