linux check cpu core

Shell
lscpu

#or
cat /proc/cpuinfo

Source

Also in Shell: