I am new to the world of Linux and Ubuntu. I want say get maximum information about CPU. (cpufreq , no. of cores, no. of threads per core, instruction set, size of caches, instruction set, virtualization etc.)
I would prefer a method which works on all Linux distributions over Ubuntu specific approaches.
lscpu seems to give only few info, I especially miss the model name here:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 69
Stepping: 1
CPU MHz: 989.531
BogoMIPS: 4788.74
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0-3Running sudo lscpu returns same.
1 Answer
You can check the model no by executing
cat /proc/cpuinfo | grep 'model name' | uniqOutput:
model name : Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHzTo Count number of CPUs:
cat /proc/cpuinfo | grep processorOutput :
2To check the number of cores !
cat /proc/cpuinfo | grep 'core id'
core id : 0
core id : 1
$hardinfo | less
$nproc / prints out the number of processing unitsFor Windows Users Use CPU-Z here
For more info described for both windows and linux here.