stroom icon indicating copy to clipboard operation
stroom copied to clipboard

Add OS memory stats to the node status stats

Open at055612 opened this issue 4 years ago • 0 comments

With the use of off heap stores we need better monitoring of the os memory state (not just the JVM memory as currently handled) from stroom. Suggest stroom.node.impl.NodeStatusServiceUtil uses ManagementFactory.getOperatingSystemMXBean() to capture the following

getCommittedVirtualMemorySize()
getFreePhysicalMemorySize()
getFreeSwapSpaceSize()

See https://docs.oracle.com/javase/7/docs/jre/api/management/extension/com/sun/management/OperatingSystemMXBean.html

at055612 avatar Feb 01 '21 10:02 at055612