Below are a few step to check the servers or product serial number by using command line on multi cross operating system.
Microsoft Windows :
Open windows command prompt and type below syntax to check product serial number.
# wmic bios get serialnumber
# wmic csproduct get name, identifyingnumber
Linux Ubuntu and Debian :
Open the shell terminal with root authentication and type below syntax to check product serial number.
# sudo dmidecode -s system-serial-number
Linux Red Hat, CentOS and Fedora :
Open the shell terminal with root authentication and type below syntax to check product serial number.
# sudo dmidecode -t 1 | egrep -i "serial|product"
UNIX AIX and HP-UX :
Open the shell terminal with root authentication and type below syntax to check product serial number.
# sudo echo "selclass qualifier system;info;wait;infolog" | /usr/sbin/cstm | grep -i "System serial"
Oracle Solaris 10 :
Open the shell terminal with root authentication and type below syntax to check product serial number.
# sudo /usr/sbin/prtdiag -v | egrep "Chassis Serial Number"
# sneep