gotop icon indicating copy to clipboard operation
gotop copied to clipboard

No Temperatures shown with Raspberry Pi

Open NuggTV opened this issue 6 years ago • 14 comments

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

NuggTV avatar May 28 '18 05:05 NuggTV

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.

cjbassi avatar Jun 02 '18 15:06 cjbassi

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

NuggTV avatar Jun 02 '18 15:06 NuggTV

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.

cjbassi avatar Jun 02 '18 16:06 cjbassi

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

PrivateGER avatar Aug 09 '18 23:08 PrivateGER

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

cjbassi avatar Aug 09 '18 23:08 cjbassi

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

PrivateGER avatar Aug 11 '18 19:08 PrivateGER

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

cjbassi avatar Aug 11 '18 22:08 cjbassi

It's a Raspberry Pi Model 3 B+.

PrivateGER avatar Aug 17 '18 13:08 PrivateGER

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 5b5ccfc2f55bb6257558f8859538a3bc2179316d.

staranto avatar Aug 29 '18 12:08 staranto

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.

pgaskin avatar Oct 11 '18 20:10 pgaskin

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

santosh avatar Mar 02 '19 06:03 santosh

@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.

cjbassi avatar Mar 02 '19 20:03 cjbassi

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

TheWorms avatar Mar 23 '19 19:03 TheWorms

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

siduxdevil avatar Oct 28 '19 10:10 siduxdevil