gettemp 106 B

123456
  1. #!/bin/sh
  2. # get CPU temperature in celsius
  3. # platform specific
  4. awk '{ print $2 }' /proc/acpi/ibm/thermal