$ lscpu
Also if you want only the CPU and core list, you can run below command
$ lscpu | egrep '^Thread|^Core|^Socket|^CPU\('
It will display output like below
CPU(s): 8
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
No comments:
Post a Comment