From: Christopher S. <sa...@un...> - 2016-04-21 23:56:13
|
Hey Mark, On 22/04/16 06:53, Mark Potter wrote: > 72: #MTM=`cat /sys/devices/virtual/dmi/id/product_name|awk -F'[' '{print $2}'|awk -F']' '{print $1}'` > 73: MTM=`cat /sys/devices/virtual/dmi/id/product_name|awk '{ print $1 }' Yeah that's because the MTM (Machine Type & Model) on an Intel based IBM box (at least ours here) is encoded in DMI as: $ cat /sys/devices/virtual/dmi/id/product_name System x3650 M4 -[7915FT2]- Byzantine, as befits an behemoth such as IBM. :-) All the best, Chris -- Christopher Samuel Senior Systems Administrator VLSCI - Victorian Life Sciences Computation Initiative Email: sa...@un... Phone: +61 (0)3 903 55545 http://www.vlsci.org.au/ http://twitter.com/vlsci |