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

Add CPU load sensors in watts for 1, 5, and 15-minute averages #29

Open
ond000 opened this issue Dec 6, 2024 · 2 comments
Open

Add CPU load sensors in watts for 1, 5, and 15-minute averages #29

ond000 opened this issue Dec 6, 2024 · 2 comments
Labels
enhancement New feature or request priority-low Low Priority

Comments

@ond000
Copy link
Contributor

ond000 commented Dec 6, 2024

Is your feature request related to a problem? Please describe.
Not applicable

Describe the solution you'd like
It would be nice to have sensor for CPU load in W (in best case to have three sensors, one for 1 minute aggregation second for 5 minutes and third for 15 minutes as is usual for that stat)

Use Case or Why Do You Want This?
Describe a specific scenario where this feature would be helpful or explain why you think it's necessary.

Priority of Request
How important is this feature to you?

  • High
  • Medium
  • Low

Additional context
Add any other context or screenshots about the feature request here.

@ond000 ond000 added the enhancement New feature or request label Dec 6, 2024
@domalab domalab added the priority-low Low Priority label Dec 7, 2024
@domalab domalab changed the title CPU load Add CPU load sensors in watts for 1, 5, and 15-minute averages Dec 7, 2024
@domalab
Copy link
Owner

domalab commented Jan 8, 2025

I looked into this and..

CPU load average sensors can be implemented in Unraid system. These sensors can show the standard 1-minute, 5-minute, and 15-minute load averages that Unix-like systems track.

A few important notes:

  • The load averages will be presented as dimensionless numbers (not watts), which is the standard way they are reported
  • A load average of 1.0 means full utilization of one CPU core
  • For a system with 4 CPU cores, a load of 4.0 would indicate full utilization
  • Load numbers can go above the CPU core count if there are processes waiting for CPU time

The three new sensors will be created:

  • CPU Load (1m): Shows the average system load over the last minute
  • CPU Load (5m): Shows the average system load over the last 5 minutes
  • CPU Load (15m): Shows the average system load over the last 15 minutes

While you mentioned wanting power consumption in watts, accurately measuring CPU power usage would require additional hardware monitoring capabilities that aren't consistently available across Unraid systems. The load averages provide a reliable way to monitor the system's CPU demand over time.

@ond000
Copy link
Contributor Author

ond000 commented Jan 11, 2025

Oh, my fault regarding that units, probably I've got wrong information regarding that, so that CPU load average sensors will be right thing 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-low Low Priority
Projects
None yet
Development

No branches or pull requests

2 participants