Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

No Temperatures shown with Raspberry Pi #37

Open
NuggTV opened this issue May 28, 2018 · 14 comments
Open

No Temperatures shown with Raspberry Pi #37

NuggTV opened this issue May 28, 2018 · 14 comments
Labels
bug Something isn't working dep:gopsutil

Comments

@NuggTV
Copy link

NuggTV commented May 28, 2018

Hi,
I'm testing gotop Version 1.4.0 on a pi zero w with the latest image of Raspian Strech Lite.
The only problem I have is that no Temperatures are shown.

  • The output of uname -a
    Linux adc 4.14.34+ #1110 Mon Apr 16 14:51:42 BST 2018 armv6l GNU/Linux

  • Terminal shell (like zsh or bash)
    bash

  • Terminal emulator (like iTerm or gnome terminal)
    mac terminal -> ssh > server

  • Using tmux?
    no

Regards

@cjbassi cjbassi added the bug Something isn't working label May 31, 2018
@cjbassi
Copy link
Owner

cjbassi commented Jun 2, 2018

Hi, can you test this binary and tell me if any temperatures are shown now? I compiled that from the issue-37 branch so feel free to run that branch with the go tools instead if you want.

@NuggTV
Copy link
Author

NuggTV commented Jun 2, 2018

Hi, just testet the new binary. Still no Temperatures shown

@cjbassi
Copy link
Owner

cjbassi commented Jun 2, 2018

Thanks for testing that. Since that didn't work, that means the issue is coming from one of gotop's dependencies called gopsutil. Gonna have to create an issue over there and get back to you.

@PrivateGER
Copy link

Hey, are there any updates on this? I have the same problem with my Raspberry Pi with a fresh image.

@cjbassi
Copy link
Owner

cjbassi commented Aug 9, 2018

Sorry, not updates yet. If you could give me the output of uname -a that would help tho.

@PrivateGER
Copy link

Output is:
Linux Server-Raspberry-Pi 4.14.61-v7+ #1133 SMP Fri Aug 10 11:04:43 BST 2018 armv7l GNU/Linux

@cjbassi
Copy link
Owner

cjbassi commented Aug 11, 2018

Thanks, and actually if you could give me the Raspberry Pi model # too that would be awesome.

@PrivateGER
Copy link

PrivateGER commented Aug 17, 2018

It's a Raspberry Pi Model 3 B+.

@staranto
Copy link

Same issue here with...

3B+ (Linux pi99 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU/Linux)
3B (Linux pi3 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux).

The gotop binary is from download.sh in commit 5b5ccfc.

@pgaskin
Copy link

pgaskin commented Oct 11, 2018

This is because the temperatures for the RPi need to be retrieved using vcgencmd measure_temp or /sys/class/thermal/thermal_zone0/temp, and gopsutil gets the temperature using /sys/class/hwmon. The RPi does not support hwmon.

@cjbassi cjbassi changed the title No Temperatures shown No Temperatures shown with Raspberry Pi Jan 24, 2019
@santosh
Copy link

santosh commented Mar 2, 2019

I'm also facing this issue of temperature not being shown.
I'm on Fedora 29 with zsh on Konsole (default settings).

@cjbassi
Copy link
Owner

cjbassi commented Mar 2, 2019

@santosh Are you on a raspberry pi? If so, could you give its model and the output of uname -a? And if not, then feel free to create a new issue for your given hardware/software configuration.

@TheWorms
Copy link

same error, no temperatures shown

Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
Raspbian

@siduxdevil
Copy link

Is there any perspective of this being fixed any time soon? I run into it with Raspbian Buster on a Pi4. Planning on writing an article for Gotop for a Linux magazine. But no temps specially on RasPi seems like a showstopper for now.

Linux raspberrypi 4.19.57-v7l+ #1244 SMP Thu Jul 4 18:48:07 BST 2019 armv7l GNU/Linux

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working dep:gopsutil
Projects
None yet
Development

No branches or pull requests

8 participants