View the current cpu information in Linux

Source: Internet
Author: User

In Linux, how does one view CPU information, including the number of digits and multi-core information? Today, let's take a look at various commands and displays of cpu information in linux. I believe this will be helpful to everyone, the following is a detailed description.

# Uname-
Linux euis1 2.6.9-55. ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
(View the kernel information of the current cpu operating system in Linux)
# Cat/etc/issue | grep Linux
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
(View the current version of the cpu in Linux)
# Cat/proc/cpuinfo | grep name | cut-f2-d: | uniq-c
8 Intel (R) Xeon (R) CPU E5410 @ 2.33 GHz
(In Linux, there are 8 logical CPUs and the cpu model is available)
# Cat/proc/cpuinfo | grep physical | uniq-c
4 physical id: 0
4 physical id: 1
(In Linux, the cpu is actually two 4-core CPUs)
# Getconf LONG_BIT
32
(Cpu viewing in Linux indicates that the current CPU runs in 32bit mode, but does not indicate that the CPU does not support 64bit)
# Cat/proc/cpuinfo | grep flags | grep 'lm '| wc-l
8
(If the result is greater than 0, 64bit computing is supported. lm indicates long mode, and lm indicates 64bit)
Finally, let's take a full look at the cpu physical information, but most of us don't care about it.
# Dmidecode | grep-A48 'processor Information $'

  1. Linux traffic monitoring software tool series
  2. Linux network traffic monitoring tool installation and functions
  3. Basic implementation and usage of Linux Traffic Control
  4. How to view Linux Nic traffic and Its Features
  5. Linux Network Traffic Security Management Method

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.