Multi-core CPU processors are common nowadays, including dual-core processors (e.g., Intel Core Duo), quad-core processors (e.g., Intel Core i5), and hexa-core processors (e.g., AMD Phenom II X6). Also, many server-grade physical machines are equipped with more than one CPU processor.
To find the number of physical CPUs:
To find the number of cores per CPU:
cpu cores : 4
The total number of processors available is the number of physical CPUs multiplied by the number of cores per CPU.
To find the total number of processors:
Note that Intel Xeon 5600 series processors have Intel Hyper-Threading capability. So each core shows up as “two” processors in Linux, and thus the total processor count seen by Linux is 16 (= 2 x 4 x 2).
- 36What is a process? Except the kernel, Everything on a Linux system runs in the context of a process. Process can be loosely defined as a running program. Every process on a Linux system has a unique Process ID (PID). Users and programs use this PID to communicate with the…