FFFF user wish: temperature and fan speed meters · Issue #163 · hishamhm/htop · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

user wish: temperature and fan speed meters #163

Closed

Description

@jackyf

A Debian user would like htop to have temperature + fan speed meters in htop. Full message there: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776818 .

Activity

  1. hishamhm commented on Feb 4, 2015

    @hishamhm
    Owner

    Thank you for forwarding it! I'm closing it for now (leaving the open issues list only for pending bugs) and marking it with the wishlist status labels (so I can revisit it later).

  2. semente commented on Oct 10, 2015

    @semente

    That would be great!

  3. hishamhm commented on Feb 11, 2016

    @hishamhm
    Owner

    The problem with that patch is that it spawns a new process on each screen update. A more native solution would be welcome!

  4. MartelliEnrico commented on Feb 13, 2016

    @MartelliEnrico

    👍 for OSX too

  5. added a commit that references this issue on Jul 26, 2016
  6. MichaIng commented on Feb 24, 2018

    @MichaIng

    @hishamhm
    We faced this user wish as well and for my impression it indeed would really fit well into htop on Linux. We found so many 3rd party patched/implementations, but all of them have heavy dependencies and/or are not well implemented into htop (as above).

    Many devices safe their temperature info readable inside /sys, but of course the file path/name varies...
    Check our method as an idea, at least it covers some devices 😉: https://github.com/Fourdee/DietPi/blob/dev/dietpi/func/dietpi-globals#L802-L809

  7. hishamhm commented on Feb 26, 2018

    @hishamhm
    Owner

    @MichaIng thanks for the pointer! indeed, the lack of a standardized interface is disappointing. :\

  8. MichaIng commented on Feb 26, 2018

    @MichaIng

    @hishamhm
    Indeed, looking around a bid, I found lm-sensors to be a popular module, showing (CPU) sensor temperatures. It needs to run a sensor detection command first, which seems to scan/check several different /sys and /proc folders, depending on existent kernel modules, in case enabling modules to access temps: https://github.com/groeck/lm-sensors/blob/master/prog/detect/sensors-detect

    Looks quite messy for implementation. Just scanning some most common default locations and provide CPU temp meter just in case one with reasonable output was found, also is not too secure, as users report values of constant 40 °C or simply from other non-CPU sensor.

    No problem, if supporting just a limited amount of devices/hardware, but for htop a deal breaker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0