dmidecode | grep -A3 ‘^System Information’ command
Manufacturer: Dell Inc.
Product Name: Precision M4700
Manufacturer: MICRO-STAR INTERANTIONAL CO.,LTD
Product Name: MS-7368
Product Name: ProLiant ML330 G6
useful when examining RAM installs (dmidecode -t17)
sudo dmidecode -s system-product sudo dmidecode -s baseboard-product-name
Other relevant options for motherboard info are
sudo dmidecode -s system-version sudo dmidecode -s baseboard-version sudo dmidecode -s system-manufacturer sudo dmidecode -s baseboard-manufacturer
sudo dmidecode -s for a full list of system DMI strings available.
And here would be a handy-dandy script that any user could run, to display the goodness:
#!/bin/bash cd /sys/devices/virtual/dmi/id/ for f in *; do printf "$f " cat $f 2>/dev/null || echo "***_Unavailable_***" done
No filenames have spaces in them, so this information is easily manipulated by utilities such as awk, for your own nefarious purposes!
I hope the following commands may be helpful