How to log CPU temperature to a file?
andy at warmcat.com
Wed Jul 25 18:24:33 UTC 2007
Somebody in the thread at some point said:
> I have looked at a ton of apps but I am missing one to periodically
> log CPU temperature to a file? Any ideas?
Have a look down /proc/acpi/thermal_zone, on this machine for example
# cat /proc/acpi/thermal_zone/TZ0/temperature
temperature: 50 C
Then for example...
while [ 1 ] ; do cat /proc/acpi/thermal_zone/TZ0/temperature | tr -s ' '
| cut -d' ' -f2 >> /tmp/temperaturelog ; sleep 10s ; done
More information about the users