Skip to content
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

System stats #31

Open
stephendade opened this issue Jun 12, 2021 · 5 comments
Open

System stats #31

stephendade opened this issue Jun 12, 2021 · 5 comments

Comments

@stephendade
Copy link
Owner

Add warning when system temperature, voltage or averaged CPU exceeds limits.

This would allow users to diagnose some stability issues, especially when running video streaming

@lorenzing
Copy link
Contributor

Great function! I think we can also integrate the reading of undervoltage and cpu throtteling.

vcgencmd get_throttled
vcgencmd measure_temp
vcgencmd measure_volts core
vcgencmd measure_clock core

The vcgencmd get_throttled output bits are:
clipboard_eddfc4bfa4efe78b914acf08a906d9f3f

Other commands can be integrated, such as reading the gpu or free ram.
vcgencmd get_mem arm/gpu

For example this is the dashboard of my Raspberry Pi (Zero 2 W) which controls the 3D printer:
Schermata 2022-01-26 alle 08 30 07

@stephendade
Copy link
Owner Author

I'd prefer a more generic approach, as Rpanion-server also runs on Jetsons and a few x86 platforms now. Is there a more generic functions we can use?

@lorenzing
Copy link
Contributor

Hello Stephen, sorry for the delay in replying. You are absolutely right about the compatibility of the feature with all supported platforms. However, I believe it is important to know if the raspberry get throttled.

@stephendade
Copy link
Owner Author

However, I believe it is important to know if the raspberry get throttled.

Yes, that's fine. I'm generally happy to put in small amounts of Pi-specific functionality

@ddd999
Copy link

ddd999 commented Mar 7, 2024

lm-sensors is probably the most widely supported way to get hardware monitoring info: https://github.com/lm-sensors/lm-sensors

There may be some kinks with RPi support, but that is (maybe?) solved now, depending on kernel version: lm-sensors/lm-sensors#202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants