Skip to main content

Get CPU Core and CPU Count on Linux [Resolved]

In this output to lscpu, is it correct to say that it has 2 cores and 1 cpu?

Core(s) per socket:    2
Socket(s):             1

Question Credit: user99201
Question Reference
Asked December 5, 2018
Tags: linux, redhat
Posted Under: Network
9 views
1 Answers

Yes, that's it. For instance here's the relevant part for an EPYC (1 processor, 4 chips on the CPU, 16 cores, 2 threads per core):

Thread(s) per core:    2
Core(s) per socket:    16
Socket(s):             1
NUMA node(s):          4

credit: wazoox
Answered December 5, 2018
Your Answer
D:\Adnan\Candoerz\CandoProject\vQA