Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Check whether the system is a 32-bit or 64-bit command on linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Today, what the editor shares with you is to check whether the system is 32-bit or 64-bit on linux. Many people don't know much about it. Today, in order to give you a better understanding of the commands for viewing the system on linux, I summed up the following contents. Let's move on. I'm sure you'll get something.

Method 1:getconf LONG_BIT to view

[root@DB-Server ~] # getconf LONG_BIT

Method 2:uname command to view

As shown in the following example, x86room64 represents a 64-bit system and i686 i386 represents a 32-bit system. I686 is only a subset of i386. Cpu support starts with Pentium 2 (686). Previous models do not support it.

[root@DB-Server] # uname-aLinux 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

The above is to check the details of whether the system is 32-bit or 64-bit on linux, and do you get anything after reading it? If you want to know more about it, welcome to the industry information!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report