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

Load Monitoring for RoboRIO #39

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Autumn-Ou
Copy link
Contributor

Load monitor for the robo RIO, accurately logs JVM memory usage as a percent, Free memory as a percent, & aggregate CPU usage as a percent every half second to avoid overusing the Rio's limited resources.

image

Notes

  • the jagged drop on JVM memory usage is correct it's just garbage cleaning & jvm heap resizing
  • functions on any linux OS as it relies on the /proc virtual files.
  • reported memory usage includes cached memory

Based on the work by Robot casseroles (1736) and team 254, this is untested as it is designed only to work on a roboRIO currently but will be tested this week, updates to come.
just need to confirm OS safety works and thread does not start on non linux systems, note this was meant to be rio exclusive but does support any linux based OS
@srimanachanta
Copy link

srimanachanta commented Apr 18, 2023

@Autumn-Ou you committed your .idea folder on accident. I opened #40

Copy link

@srimanachanta srimanachanta Apr 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@Autumn-Ou
Copy link
Contributor Author

Apologies about that I'll go remove the .idea folder

@Autumn-Ou
Copy link
Contributor Author

Cleaned up both of those sorry about that.

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