/proc/cpuinfo

Source: Internet
Author: User

Processor: The number of the logical processing cores in the system. For a single-core processor, the class is considered its CPU number, and for multicore processors it can be a physical core, or a virtual logical core using Hyper-Threading Technology

Physical id  : The label of a single CPU
siblings      : Number of logical physical cores for a single CPU
Core id       : The number of the current physical core in its CPU, which is not necessarily contiguous

CPU Cores: The physical core number of the CPU at which the logical core is located

If the number of CPUs cores and the number of siblings are the same, hyper-threading is not enabled, otherwise Hyper-threading is enabled.

Number of query system CPUs: Cat/proc/cpuinfo | grep "Physical ID" | Sort | Uniq | Wc-l

Number of logical CPUs:
# Cat/proc/cpuinfo | grep ' Processor ' | Wc-l



/proc/cpuinfo

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.