Skip to content

Load Monitoring for RoboRIO#39

Open
Autumn-Ou wants to merge 7 commits intoMechanical-Advantage:mainfrom
Autumn-Ou:main
Open

Load Monitoring for RoboRIO#39
Autumn-Ou wants to merge 7 commits intoMechanical-Advantage:mainfrom
Autumn-Ou:main

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