I have a lot of systems work in data center. I have started to create inventory about this servers. I want to be everything is documented in this inventory. There are different tools to get information about the system chassis. In this tutorial we will look how to get information about chassis serial number, manufacturer and product name.
Get System Serial Number
System serial number is given by manufacturer to identify the system. I may be used to track licensing, guaranty etc. We can get the system serial number like below. Keep in mind to get these information we need root privilege. We wil use sudo
command to get root privileges.
$ sudo dmidecode -s system-serial-number

The serial number is printer properly and also the system information is provided which is VMware
in this example.
Get System Manufacturer
We will get the company who manufactured this system with the system-manufacturer
option provided to the -s
option.
$ sudo dmidecode -s system-manufacturer

Inthis example VMware
is the manufacturer of the system.
Get Product Name
Product name specifies the exact name of the system. We can print the product name with the -s system-product-name
option like below.
$ sudo dmidecode -s system-product-name

How To Get System Serial Number, Manufacturer and Product Name In Linux with dmidecode Command? Infografic
