To find the serial number on Linux machine ,Just fire the command below.
root@server03 seemab]# dmidecode -t 1
You will get the results below.
# dmidecode 2.12 SMBIOS 2.4 present. Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: VMware, Inc. Product Name: VMware Virtual Platform Version: None Serial Number: VMware-56 4d 9e 27 9f 01 5e ce-ce 23 d1 c5 6f 7c ba 72 UUID: 564D9E27-9F01-5ECE-CE23-D1C56F7CBA72 Wake-up Type: Power Switch SKU Number: Not Specified Family: Not Specified