Re: How to log CPU temperature to a file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-Andy


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux