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

RE: How to log CPU temperature to a file?



Thanks guys!

-----Original Message-----
From: fedora-list-bounces redhat com
[mailto:fedora-list-bounces redhat com]On Behalf Of Andy Green
Sent: Wednesday, July 25, 2007 2:25 PM
To: For users of Fedora
Subject: Re: How to log CPU temperature to a file?


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

-- 
fedora-list mailing list
fedora-list redhat com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


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