View the CPU and memory information of the machine under Linux

Source: Internet
Author: User

How to view version information, including the number of bits and multicore information under Linux, today we'll take a look at Linux view version information and view CPU kernel information, CPU specific models and so on, the entire CPU information at a glance. I believe I will not let you down.

# uname-a
Linux euis1 2.6.9-55.elsmp #1 SMP Fri April 17:03:35 EDT i686 i686 i386 gnu/linux
(Linux view version current operating system kernel information)

# Cat/etc/issue | grep Linux
Red Hat Enterprise Linux as Release 4 (Nahant Update 5)
(Linux view version current operating system release information)

# Cat/proc/cpuinfo | grep name | cut-f2-d: | uniq-c
8 Intel (R) Xeon (r) CPU E5410 @ 2.33GHz
(Linux View CPU has 8 logical CPUs, also know the CPU model)

# Cat/proc/cpuinfo | grep physical | uniq-c
4 Physical id:0
4 Physical Id:1
(Linux View release Notes are actually two 4-core CPUs)

# getconf Long_bit
+
(Linux view version 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
8
(the result is greater than 0, indicating support for 64bit calculations. LM refers to long mode, which supports LM is 64bit)

Finally, a complete look at the CPU physical information, but most of us do not care.
# Dmidecode | grep-a48 ' Processor information$ '

View the CPU and memory information of the machine under Linux

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.