cmr-exchange / dev-env-manager

An Alternate Development Environment Manager for the CMR
Apache License 2.0
0 stars 1 forks source link

Add timer function for regularly updating the current thread CPU & MEM utilization #29

Open oubiwann opened 6 years ago

oubiwann commented 6 years ago

MXBean info in Java requires a sample period of time to get data; this is a perfect fit for a timer function that would update the system state atom in the REPL.

Info on extracting stats: https://stackoverflow.com/a/13034111