there is some package for ArchLinux?
Phoronix: cputemp 1.0 Released For Linux Thermal Monitoring
Version 1.0 has been reached for the cputemp utility that uses ACPI for monitoring the CPU temperature and providing various statistics under Linux...
http://www.phoronix.com/vr.php?view=MTE3NDY
there is some package for ArchLinux?
wow, now I can find it, it appeared from some minutes.
but it didn't compile:
Installing cputemp:
Copying program to /tmp/yaourt-tmp-fabio/aur-cputemp/pkg/usr/bin: Done.
Checking if log exists: No
***Creating Log:
Traceback (most recent call last):
File "./Setup.py", line 77, in <module>
open (logpath + "/cputemp.log", 'w' ).write("cputemp log \n\n")
IOError: [Errno 13] Permission denied: '/var/log//cputemp.log'
Last edited by fabioamd87; 09-03-2012 at 09:28 AM.
Very simple application. 270 lines of python code. It only reads and displayes the contents of /sys/* and /proc/* files.
Would be nice to have this ported to C so it does not depend on the non-lightweight python package, or even Lua.
How does this compare to "sensors" from lm-sensors?
Code:$ sensors atk0110-acpi-0 Adapter: ACPI interface Vcore Voltage: +1.14 V (min = +0.85 V, max = +1.60 V) +3.3 Voltage: +3.31 V (min = +2.97 V, max = +3.63 V) +5 Voltage: +4.97 V (min = +4.50 V, max = +5.50 V) +12 Voltage: +12.22 V (min = +10.20 V, max = +13.80 V) CPU FAN Speed: 2743 RPM (min = 600 RPM) CHASSIS FAN Speed: 2872 RPM (min = 600 RPM) POWER FAN Speed: 0 RPM (min = 600 RPM) CPU Temperature: +46.0°C (high = +60.0°C, crit = +95.0°C) MB Temperature: +40.0°C (high = +45.0°C, crit = +95.0°C)
I've done a C port of the tool. You can find it at https://github.com/ifoo/ccputemp.