Command "lscpu" output in detail information about processor:
Standard program "dmidecode" also output information about hardware.
Information about CPU:
sudo dmidecode -t 4
Information about RAM:
sudo dmidecode -t 17
In file "/proc/cpuinfo" are all hardware characteristics of machine. With help program-pager you can get needed cuts. E.g., detail information about processor you can output with help command:
Discover which socket have processor you can in following way:
Programm not always are in standard pre installed programm pool.