Comments (7)
Same here! Switching on temp support in the menu also doesn't work. It's just stuck on "false".
from bashtop.
I encountered the same problem on Ubuntu 20.04 x86 64 bit. I wonder if the problem is a seccomp violation.
CPU Temperature monitoring not available in the snap but works when bashtop is installed from source.
I installed the snap and ran bashtop. I used the Options sub-menu and found that it was not possible to "check temp" option to true.
I resinstalled the snap in developer mode and examined the system log as described on the Snapcraft site (https://snapcraft.io/docs/debug-snaps). I excluded the ALLOWED and STATUS entries and was left with a single entry with a SECCOMP violation when the script tries to call sed.
Here is a tidied version of my checks.
$ cat !$
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
$
$ uname -a
Linux hostname 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$
$ sudo journalctl --since "2020-08-27 07:30:00" | grep audit | grep bashtop | grep -v -e ALLOWED -e STATUS
Aug 27 07:40:39 hostname audit[7926]: SECCOMP auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=7926 comm="sed" exe="/snap/bashtop/122/bin/sed" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7efc5bcbb527 code=0x7ffc0000
$
$ sudo journalctl --since "2020-08-27 07:30:00" | grep audit | grep bashtop | grep -i sensor
$
I wonder if the SECCOMP log message indicates a wider problem which means that the sensors binary contained in the snap is not visible to the bashtop script. See - https://snapcraft.io/docs/debug-snaps#heading--seccomp.
I then removed the snap and installed bashtop from source and found that CPU temperature monitoring works.
Thanks in advance.
from bashtop.
I noticed the snap connect ...
commands on Snapcraft (https://snapcraft.io/install/bashtop/ubuntu). I removed the install of bashtop from source, reinstalled the snap and ran the listed snap connect
commands. I then ran bashtop, it locked up on the "splash" page when checking memory.
I have reverted to the install from source.
Sorry to provide more bad news.
from bashtop.
Just FYI: I've switched to using the bpytop snap where temps display works. (Bpytop is a python reimplementation of bashtop by the original developer. They recommend using that as they aren't actively developing bashtop any more.)
from bashtop.
@Benedolt thanks for the update.
I have installed your snap of bpytop as you suggested. It worked straight away.
Thank you for your effort (and snaps).
from bashtop.
@toikpi Glad it works for you! It's not my snap, though. That's all @kz6fittycent :)
from bashtop.
That particular switch (temp) seems to glitch when first turning "on" and I don't know why. I noticed the same thing when running the .deb
on an Ubuntu server I have at work. I typically have to switch the "tree" setting a couple of times, too. Given that I'm seeing the same issue between the .deb
version and the snap, I've just chalked it up to the software itself.
That said, did you ensure that you have all the snap connections? If you don't, then that switch will never work -ever.
sudo snap connect bashtop:mount-observe
sudo snap connect bashtop:network-control
sudo snap connect bashtop:hardware-observe
sudo snap connect bashtop:system-observe
sudo snap connect bashtop:process-control
from bashtop.
Related Issues (2)
- upstream? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bashtop.