In linux, how to view the configuration of a machine-Linux Enterprise Application-Linux server application information is as follows. # Dmesg | grep hd
# Dmesg | grep cpu
# Dmesg | grep proc
View the number of CPUs
# Cat/proc/cpuinfo
File displays cpu information. Processor starts counting from 0 and continues with multiple CPUs. If the flag has ht, hyperthreading technology is supported.
To determine the number of physical CPUs, you can view the physical id value. If the number is the same, it is the same physical cpu.
SMP linux multi-cpu count
Hyper-Threading
Hyper-Threading Technology uses special hardware commands to simulate two logical kernels into two physical chips, so that a single processor can use thread-level parallel computing, and thus be compatible with multi-threaded operating systems and software, reduce the idle time of the cpu and improve the running efficiency of the cpu.
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