Linux View CPU Information

Source: Internet
Author: User

1. View operating system kernel information

uname -2.6. -194. El5 #1: £ º x86_64x86_ x86_64 Gnu/linux

2. Query CPU Information

Overall information

Cat /proc/cpuinfo

CPU Name

 [[email protected] ~]# cat /proc/cpuinfo | grep   Namemodel Name:intel (R) Core (TM) i3  -2310m CPU @ 2  .10ghzmodel Name:intel (R) Core (TM) i3  -2310m CPU @ 2  .10ghzmodel Name:intel (R) Core (TM) i3  -2310m CPU @ 2  .10ghzmodel Name:intel (R) Core (TM) i3  -2310m CPU @ 2 . 10GHz 
Cat grep Cut Uniq -c      4         2. 10GHz

CPU Physical Number

Cat grep " Physical ID " Sort Uniq WC -l2
[Email protected] ~]#Cat/proc/cpuinfo |grepPhysical |Uniq-C1PhysicalID:0      1Address sizes: +Bits physical, -bits Virtual1PhysicalID:0      1Address sizes: +Bits physical, -bits Virtual1PhysicalID:1      1Address sizes: +Bits physical, -bits Virtual1PhysicalID:1      1Address sizes: +Bits physical, -Bits virtual

Number of CPU logic

Cat grep " Processor " WC -l4

View CPU Run mode

[Email protected] ~]# getconf long_bit  -

See if the CPU supports 64-bit

Cat grep grep '  'WC -l4(result greater than 0, description supports 64bit calculation. LM refers to long mode, which supports LM is 64bit)

View Cup frequency

Cat grep Uniq CPU MHz          2093.211

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.