This command gives your CPU ID:
sudo dmidecode -t 4 | grep ID
and serial number:
sudo dmidecode | grep Serial
The CPU information:
sudo dmidecode -t 4
BIOS Information:
sudo dmidecode -t 0
Motherboard information:
sudo dmidecode -t 2
and OEM:
sudo dmidecode -t 11
Reference: http://ubuntuguide.net/howto-find-out-motherboardbios-info-and-cpu-id-in-ubuntu