How many cores do I have Linux?

How many cores do I have Linux?
Answer
We can get the number of physical and logical CPU cores using lscpu command in Linux as follows. In the above example, the computer has 2 CPU sockets. Each CPU socket has 8 physical cores. Hence, the computer has 16 physical cores in total.
 

Tìm kiếm

Back
Top