-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Power of 0 returned for all processes on Ubuntu 22.04.1 LTS #214
Comments
Hi, This is most the time a problem of permissions in /sys/class/powercap. Could you run the init.sh script at the root of the project then retry ? |
Indeed, If you agree, I could help implement it, as I have some Rust experience. |
Makes me think of #137 |
Hi ! It's been a long time now but if you're still up to propose a PR on this @netzdoktor it would be more than welcome ! Otherwise I might try something in the direction you proposed. Btw @demeringo I think this one is not so related to #137 as it is more about RAPL support on the CPU. No such support gives an explicit error, while the behavior described here is more silent as described @netzdoktor and returns 0 :) |
I close the issue as the latest code in dev branch includes warnings messages when permissions are not okay. It doesn't make the app crash, but makes the problem pretty obvious now. We could open a new issue afterwards if we realize making the program crash in such case is a way better option. |
Bug description
On my system, running
scaphandre stdout -t 15
returns 0 W for all processes.To Reproduce
Expected behavior
The power values should be non-zero.
Screenshots
None
Environment
Additional context
None
The text was updated successfully, but these errors were encountered: