Jakob and me just wrote a small bash line that checks the current temperature of the IBM Thinkpad T43p notebook and prints it nicely. Hope we guessed the value meanings correctly.
[geshi lang=bash]$ cat /proc/acpi/ibm/thermal | awk '{ print "CPU:\t" $2 "? C\nPCI:\t" $3 "? C\nHDD:\t" $4 "? C\nGPU:\t" $5 "? C\nBat1:\t" $6 "? C\nBat2:\t" $8 "? C"; }'[/geshi]Maybe someone finds that useful.
If you liked this blog post or learned something, please consider using flattr to contribute back: .
Fields with bold names are mandatory.
Derick
You can also just do:
Link to commentderick@kossu:~$ acpi -t -B
Thermal 1: ok, 41.0 degrees C
Toby
True, but this only shows me 1 thermal zone, not all. :)
Link to commentAnyway, thanks for the hint!