On 12/18/2020 11:26 AM, Walter Underwood wrote: ...
I’ll file a bug and submit a patch to use for larger batch of entries with data in the same format, . How do I fix the documentation?
CPU load may be good if your process is CPU-bound. If you're stuck on iowait in your $data filesystem and not "actively running", it's not clear that OperatingSystemMXBean.getSystemCPULoad() will account for that. IIRC load average will, so you may in fact be better off using that divided by number of cores (which you can also get from the bean).
Dima