Linux Adam Deacon on 01 Jul 2008 07:57 am
Getting BIOS information
I recently needed to get a load of Dell service tags from some remote servers. Dell very nicely provide a ActiveX component for Windows but nothing for Linux. Fortunately we can use dmidecode. Run it as root and it will output loads of hardware info. If you looking for something specific, then you can run it with -s option and provide a keyword such as:
- bios-vendor
- bios-version
- bios-release-date
- system-manufacturer
- system-product-name
- system-version
- system-serial-number
- system-uuid
- baseboard-manufacturer
- baseboard-product-name
- baseboard-version
- baseboard-serial-number
- baseboard-asset-tag
- chassis-manufacturer
- chassis-type
- chassis-version
- chassis-serial-number
- chassis-asset-tag
- processor-family
- processor-manufacturer
- processor-version
- processor-frequency
Here’s the output of it:
[root@ajd-laptop ~]# dmidecode -s bios-vendor
Dell Inc.
[root@ajd-laptop ~]# dmidecode -s processor-manufacturer
Intel
[root@ajd-laptop ~]# dmidecode -s processor-frequency
1600 MHz
[root@ajd-laptop ~]# dmidecode -s chassis-type
Portable