Find server’s serial number from command line – linux

To get service/serial number from command in linux run command below. The first result is the service tag which usually in alphanumeric.

switch to root level

[server@abc1 ~] # dmidecode | egrep -i “serial|product”

output example:

Product Name: PowerEdge R710
Serial Number: AB8CDE1
Product Name: 0abc13
Serial Number: ..ABC123CDE2345XYZ.
Serial Number: AB23XYZ
Serial Number: Not Specified
Serial Number: Not Specified
Port Type: Serial Port 11204A Compatible

Hope this will save your trip to datacentre.


Reference:  How to Find Dell Service Tag

2 Responses to Find server’s serial number from command line – linux

  1. Anonymous says:

    Thanks heaps man!

  2. Anonymous says:

    I also like to use it this way: dmidecode -s system-serial-number


Get every new post delivered to your Inbox.

Join 60 other followers

%d bloggers like this: