How to view CPU information in Linux, including the number of digits and multi-core information

Source: Internet
Author: User

View the current operating system kernel information
#Uname-

Linux redcat 2.6.31-20-generic # 58-ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux

 

View the current operating system release information

 

#CAT/etc/issue
Ubuntu 9.10 \ n \ L

 

View CPU Model

 

#CAT/proc/cpuinfo | grep name | cut-F2-D: | uniq-C
2 Intel (r) core (TM) 2 Duo CPU p8600 @ 2.40 GHz
(We can see two logical CPUs and the CPU model)

 

 

View the number of physical CPUs

#CAT/proc/cpuinfo | grep physical | uniq-C

2 Physical ID: 0
(It indicates that it is actually a 2-core CPU)

 

 

View CPU Running Mode

# Getconf long_bit

32

(This indicates that the current CPU runs in 32bit mode, but does not indicate that the CPU does not support 64bit)

 

 

Check whether the CPU supports 64bit

#CAT/proc/cpuinfo | grep flags | grep 'lm '| WC-L

2

(If the result is greater than 0, 64bit computing is supported. lm indicates long mode, and Lm indicates 64bit)

 

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.