lscpu - displays information about the CPU architecture.
Show all information about the CPU:
lscpu
Show all information about the CPU in human readable format:
lscpu -e
Show only information of specific columns:
lscpu -e=cpu,core,online
Show cpu information in parsing-friendly format:
lscpu -p
Show cpu sets using hexadecimal masks:
lscpu -x