How to show motherboard model?
+2
−0
Surely there exists a command to print out the system's mother board model?
Opening up the chassis is not an option.
2 answers
+4
−0
dmidecode
can do this. Here's an example output from my system:
# dmidecode --type 2
Getting SMBIOS data from sysfs.
SMBIOS 3.1.1 present.
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: PRIME B450-PLUS
Version: Rev X.0x
Serial Number: <redacted>
Asset Tag: Default string
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Default string
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
Type 2 corresponds to Baseboard
.
0 comment threads
+2
−0
Try reading the files in /sys/class/dmi/id/
, some of them don't require root privileges. For example:
board_name
board_vendor
0 comment threads