Linux Find Out CPU Architecture Information

https:‮l.www//‬autturi.com
Linux Find Out CPU Architecture Information

To find out the CPU architecture information on a Linux system, you can use the lscpu command. This command displays detailed information about the CPU architecture, including the CPU model, number of CPUs, CPU threads, and more.

For example, to display the CPU architecture information, you can use the following command:

lscpu

This command will display the CPU architecture information in a table format, with each row representing a different attribute of the CPU.

Here is an example of the output of the lscpu command:

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Model name:            Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz
Stepping:              2
CPU MHz:               2300.000
CPU max MHz:           2300.0000
CPU min MHz:           1200.0000
BogoMIPS:              4600.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              20480K
NUMA node0 CPU(s):     0-7

You can use the -p option to display the information in a more parseable format, with each attribute separated by a colon:

lscpu -p

You can also use other options to display specific attributes of the CPU architecture, such as the CPU model or the number of CPUs. For more information about the lscpu command and its options, you can consult the man page or use the --help option.

man lscpu
lscpu --help
Created Time:2017-10-29 22:08:54  Author:lautturi