CentOS View CPU information, number of bits, multi-core information

Source: Internet
Author: User

# Uname-a

Linux localhost.localdomain 2.6.18-164.el5pae #1 SMP Thu Sep 3 04:10:44 EDT i686 i686 i386 gnu/linux
(view current operating system kernel information)

# Lsb_release-a

LSB Version:: Core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarchdistributor id:centosdescription : CentOS Release 5.4 (Final) release:5.4codename:final

(view current operating system release information)

# Cat/proc/cpuinfo | grep name | cut-f2-d: | uniq-c 8 Intel (R) Xeon (r) CPU E5620 @ 2.40GHz

(8 logical CPUs, CPU models)

# Cat/proc/cpuinfo | grep physical | uniq-c

8 Physical id:0

(description is actually a 4-core CPU)

# getconf Long_bit

+ (indicates that the current CPU is running in 32bit mode, but does not mean that the CPU does not support 64bit) # Cat/proc/cpuinfo | grep flags | grep ' LM ' | wc-l 4 (the result is greater than 0, indicating support for 64bit calculations. LM refers to long mode, which supports LM is 64bit)

CentOS View CPU information, number of bits, multi-core information

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.