How to find Dell Service Tag from command line in Linux

by Eddy on

How I get the Dell Service Tag on Dell Servers running Linux

Dell servers support running Linux and there is cool command that you can run to find the Dell Service Tag. This is helpful if your Data center is located remotely and for placing hardware call to Dell you need to find the Dell server Service Tag number. I had a situation one time when I had to place a call with Dell to replace the disk drive, server was running RHEL5 AS. Running dmidecode saved me a trip to my datacenter. This magic command is located under /usr/sbin directory.

[root@paymentl ~]# which dmidecode


For locating the Service tag from command line run dmidecode command with pipe (|) and grep for serial number, on Dell servers Service Tag number is 7 dight alphanumeric number. Here is how i find the service Tag from the command line on my poweredge servers.

[root@paymentl ~]# dmidecode |grep -i “serial number”

Serial Number: 614KLC1

News Tags:

{ 4 comments… read them below or add one }

YouAreALegend May 14, 2010 at 12:19 AM

You sir just saved me a trip to the datacentre. You are a legend.

Jack Tors July 20, 2011 at 12:17 PM

Worked good, thanks

Jerre Cope September 27, 2011 at 11:49 AM

Great. Just what I needed. Now my online assets can track themselves.

Ray November 9, 2011 at 7:03 PM

/usr/sbin/dmidecode -s system-serial-number

Leave a Comment

{ 1 trackback }

Previous post:

Next post: