Byobu shows gpu temperature instead of cpu
Bug #1167176 reported by
Ankur Sinha
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Low
|
Unassigned |
Bug Description
On my workstation, byobu appears to show the GPU temperature rather than the CPU temperature:
My CPU is around 30, the GPU around 50, and byobu displays the GPU temp (50) in the status bar below. (Please see the attached screenshot)
It appears to work okay on my laptop though. I'll attach it's screenshot too.
The byobu version in Fedora isn't up to date. I'll request the maintainer to update. Launchpad didn't give me any similar bugs, so I'm simply assuming no one's hit this one yet.
The two machines are completely different hardware wise. Please let me know if you need their hardware infos.
Thanks,
Warm regards,
Ankur
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Byobu attempts to autodetect your CPU's temperature using the following logic, where the first match wins:
for i in $MONITORED_TEMP /sys/class/ hwmon/hwmon* /temp*_ input /sys/class/ hwmon/hwmon* /device/ temp*_input /proc/acpi/ ibm/thermal /proc/acpi/ thermal_ zone/*/ temperature; do
...
This means that you can in fact for the reading of your CPU temperature by setting the MONITORED_TEMP shell variable in your ~/.bybou/statusrc file.
Can you look through those locations in /sys and /proc and tell me which one is the correct temperature you want?