Explore System Hardware Information with sys-apps/dmidecode
Discover comprehensive insights into your system's hardware configuration using dmidecode, a powerful utility that retrieves data from the Desktop Management Interface (DMI) of your computer's BIOS. From RAM speed to BIOS details, processor specifications to memory configurations, dmidecode empowers you to delve deep into the intricacies of your system's components.
Available options for dmidecode
| Type | Information |
|-------|---------------------|
| 0 | BIOS
| 1 | System
| 2 | Base Board
| 3 | Chassis
| 4 | Processor
| 5 | Memory Controller
| 6 | Memory Module
| 7 | Cache
| 8 | Port Connector
| 9 | System Slots
| 11 | OEM Strings
| 13 | BIOS Language
| 15 | System Event Log
| 16 | Physical Memory Array
| 17 | Memory Device
| 18 | 32-bit Memory Error
| 19 | Memory Array Mapped Address
| 20 | Memory Device Mapped Address
| 21 | Built-in Pointing Device
| 22 | Portable Battery
| 23 | System Reset
| 24 | Hardware Security
| 25 | System Power Controls
| 26 | Voltage Probe
| 27 | Cooling Device
| 28 | Temperature Probe
| 29 | Electrical Current Probe
| 30 | Out-of-band Remote Access
| 31 | Boot Integrity Services
| 32 | System Boot
| 34 | Management Device
| 35 | Management Device Component
| 36 | Management Device Threshold Data
| 37 | Memory Channel
| 38 | IPMI Device
| 39 | Power Supply
Install dmidecode
Tips and Tricks
Detect if we are running on a VMware virtual machine
Determine whether a CPU has 64 bit capability or not
Check motherboard manufacturer, product name, version and serial number
Get info on RAM Slots and Max RAM
Get current speed of cpu in use and totaly cpu mhz
Map the slot of an I/O card to its PCI bus address
Another way to print cpu max speed
Inspect kernel logs for HP WMI / hwmon / chassis intrusion support
Print how much ram memory we got and how many memory cards we use
Available String Options
System strings
Baseboard strings
Chassis strings
Processor strings
Output Options
- Formatting Options
Check what´s available without being root
Motherboard Information
Memory Details
Total installed ram memory in megabyte
CPU Information
Get license info
get_license_info() {
u=$(dmidecode -s system-uuid); b=$(dmidecode -s baseboard-serial-number)
printf "UUID: %s\nSerial: %s\nManufacturer: %s\nModel: %s\nFingerprint: %s\n" \
"$u" "$(dmidecode -s system-serial-number)" "$(dmidecode -s system-manufacturer)" \
"$(dmidecode -s system-product-name)" "$(printf %s "$u$b" | sha256sum | cut -d' ' -f1)"
}
get_license_info