You can use /proc/cpuinfo file or use the lscpu command to get info about CPU architecture. It will display information like:
- Number of CPUs
- Threads
- Cores
- Sockets
- NUMA nodes
- Information about CPU caches,
- CPU family, model and stepping.
- in human-readable format. Alternatively, it can print out in parsable
- format including how different caches are shared by different CPUs,
- which can also be fed to other programs.
Open a terminal and type the following command:
OR
Sample outputs:
$ less /proc/cpuinfo
OR
$ lscpu
Sample outputs:
Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit CPU(s): 8 Thread(s) per core: 2 Core(s) per socket: 4 CPU socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 30 Stepping: 5 CPU MHz: 1199.000 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K
Recent Comments