You need to use the dmidecode command to find out various info including Dell servers service tag for warranty or parts replacement. This command is used to analyse BIOS DMI data. If this command is not install type the following command to install it on a CentOS/RHEL using the yum command or dnf command:
Installing dmidecode to find out Dell service tag
Run it as root user:
# yum -y install dmidecode
Sample outputs:
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.net.in * epel: epel.mirror.net.in * extras: centos.mirror.net.in * updates: centos.mirror.net.in Resolving Dependencies --> Running transaction check ---> Package dmidecode.x86_64 1:3.0-5.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================== Package Arch Version Repository Size ======================================================================================== Installing: dmidecode x86_64 1:3.0-5.el7 base 88 k Transaction Summary ======================================================================================== Install 1 Package Total download size: 88 k Installed size: 241 k Is this ok [y/d/N]: y Downloading packages: dmidecode-3.0-5.el7.x86_64.rpm | 88 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 1:dmidecode-3.0-5.el7.x86_64 1/1 Verifying : 1:dmidecode-3.0-5.el7.x86_64 1/1 Installed: dmidecode.x86_64 1:3.0-5.el7 Complete!
If you are using a Fedora Linux, try dnf command to install dmidecode:
$ sudo dnf install dmidecode
If you are using an Ubuntu/Debian Linux based server try apt command or apt-get command to install dmidecode
$ sudo apt-get install dmidecode
Command To Find Out Dell Service Tag on Linux
Once installed type the following command to find out Dell service tag:
# dmidecode | grep -i serial
OR
# dmidecode -t 1
Sample outputs:
# dmidecode 2.9
SMBIOS 2.6 present.
Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: Dell Inc.
Product Name: PowerEdge T110
Version: Not Specified
Serial Number: XYZABC
SKU Number: Not Specified
Family:
Here is another outputs:
# dmidecode -s system-serial-number
Sample outputs:
XYZABC
How Do I Find Out Dell Service Tag Remotely?
You need to ssh into remote Dell server and type the same command:
$ ssh root@your-remote-dell-server-domain-name-here
OR
$ ssh root@202.54.1.1
And type the above command:
# dmidecode -s system-serial-number
OR just pass the dmidecode command line option to ssh itself:
$ ssh root@remote.dell.server.example.com dmidecode -s system-serial-number
Conclusion
You learned how to find Dell service tag using the CLI on your CentOS/RHEL based system. For more info see the dmidecode man page by typing the following man command:
$ man dmidecode
🐧 5 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
You really should have Dell’s Open Manage software installed, its great stuff (compared to other vendors mgmt software such as HP “health” drivers).
omreport chassis info
With Open Manage installed you can check power supplies, memory errors, change BIOS setup etc.
See more here:
http://support.dell.com/support/edocs/software/svradmin/1.9/en/cli/index.htm
It’s works if you have not a Virtualized system.
Is there a command that can pull the entire ppid on a monitor
As a Windows server user i type after opening command prompt:
wmic bios get serialnumber
wmic /user:administrator /node:server-ip-address bios get serialnumber
Source: https://www.dell.com/support/article/en-us/sln268357/how-to-locate-your-system-service-tag-using-command-prompt?lang=en