commit 381231d5a073f4082bb0d7073b3d0b31b52f944e parent bd524b2986bf9b4ef9c7e483e6cf85b79aaa6345 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Sat, 10 May 2014 14:18:16 +0200 added hardware info script Diffstat:
A | bin/hardwareinfo.sh | | | 34 | ++++++++++++++++++++++++++++++++++ |
1 file changed, 34 insertions(+), 0 deletions(-)
diff --git a/bin/hardwareinfo.sh b/bin/hardwareinfo.sh @@ -0,0 +1,34 @@ +#!/bin/sh +c="sudo dmidecode -s" + +echo "# bios" +$c bios-vendor +$c bios-version +$c bios-release-date + +echo "# system" +$c system-manufacturer +$c system-product-name +$c system-version +$c system-serial-number +$c system-uuid + +echo "# baseboard" +$c baseboard-manufacturer +$c baseboard-product-name +$c baseboard-version +$c baseboard-serial-number +$c baseboard-asset-tag + +echo "# chassis" +$c chassis-manufacturer +$c chassis-type +$c chassis-version +$c chassis-serial-number +$c chassis-asset-tag + +echo "# processor" +$c processor-family +$c processor-manufacturer +$c processor-version +$c processor-frequency