Announcement

Collapse
No announcement yet.

cputemp 1.0 Released For Linux Thermal Monitoring

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • cputemp 1.0 Released For Linux Thermal Monitoring

    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

  • #2
    there is some package for ArchLinux?

    Comment


    • #3
      Originally posted by fabioamd87 View Post
      there is some package for ArchLinux?
      did you check the AUR? that usually has just about anything big enough worth mentioning.


      I'm not too familiar with how this program differs from lm_sensors, how exactly are temperatures read differently?

      Comment


      • #4
        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, 10:28 AM.

        Comment


        • #5
          Originally posted by schmidtbag View Post
          did you check the AUR? that usually has just about anything big enough worth mentioning.


          I'm not too familiar with how this program differs from lm_sensors, how exactly are temperatures read differently?
          lm_sensors read from I2C and other buses to communicate directly with the integrated circuit and stuff.
          cputemp mentioned in the article reads from ACPI.

          Comment


          • #6
            Would be nice without python

            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.

            Comment


            • #7
              Originally posted by ncopa View Post
              Would be nice to have this ported to C so it does not depend on the non-lightweight python package, or even Lua.
              But Python is installed by default on Ubuntu. I guess on most other distributions too.

              Comment


              • #8
                Originally posted by uid313 View Post
                But Python is installed by default on Ubuntu. I guess on most other distributions too.
                And that's just one of the things wrong with Ubuntu

                Comment


                • #9
                  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.0C  (high = +60.0C, crit = +95.0C)
                  MB Temperature:     +40.0C  (high = +45.0C, crit = +95.0C)

                  Comment


                  • #10
                    ccputemp

                    Originally posted by ncopa View Post
                    Would be nice to have this ported to C so it does not depend on the non-lightweight python package, or even Lua.
                    I've done a C port of the tool. You can find it at https://github.com/ifoo/ccputemp.

                    Comment


                    • #11
                      Originally posted by uid313 View Post
                      lm_sensors read from I2C and other buses to communicate directly with the integrated circuit and stuff.
                      cputemp mentioned in the article reads from ACPI.
                      Right I get that much but what makes ACPI better for reading temperatures? I pretty much got the impression that ACPI was more revolved around keeping your computer power efficient and quiet. While temperatures take a big part in that, I don't see why power control couldn't just use I2C sensors.

                      Comment


                      • #12
                        If there wasn't a native way to read the temps, then you could use ACPI for it. But since there is a superior native interface...

                        Comment


                        • #13
                          Big WTF here...
                          The program just uses the legacy interface for ACPI thermal zones. Newer kernels expose the TZ using the standard hwmon interface (i.e. /sys/class/hwmon) and readings are picked up automatically by libsensor along with the ones from native interfaces.

                          Comment


                          • #14
                            Originally posted by ifoo View Post
                            I've done a C port of the tool. You can find it at https://github.com/ifoo/ccputemp.
                            Now were talking!

                            Thanks a bunch!

                            Comment


                            • #15
                              Originally posted by schmidtbag View Post
                              Right I get that much but what makes ACPI better for reading temperatures? I pretty much got the impression that ACPI was more revolved around keeping your computer power efficient and quiet. While temperatures take a big part in that, I don't see why power control couldn't just use I2C sensors.
                              I don't know.
                              I thought maybe that with I2C you have have a special driver for every sensors, and that with ACPI you can just call the ACPI and get it without having special drivers for every sensor.

                              Comment

                              Working...
                              X