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

Replace getLoadAverage() with getCpuLoad() for Windows compatibility #46

Merged
merged 17 commits into from
Aug 12, 2024

Conversation

shin19991207
Copy link
Contributor

@shin19991207 shin19991207 commented Aug 8, 2024

Replace getLoadAverage() with getCpuLoad() for Windows compatibility and update terminology to reflect recent load metrics

  • use com.sun.management.OperatingSystemMXBean.getCpuLoad()
  • update the content for all "the average system load" to "the recent system load"
  • update SystemLoad.loadAverage to SystemLoad.recentLoad
  • update test.yml and pom.xml to use java 17

Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
Signed-off-by: Gilbert Kwan <[email protected]>
@gkwan-ibm gkwan-ibm merged commit 84ed506 into draft Aug 12, 2024
11 checks passed
@gkwan-ibm gkwan-ibm deleted the chang-patch-1 branch August 23, 2024 15:19
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

Successfully merging this pull request may close these issues.

2 participants