It allow to retrieve current load values.
For cpu and net https://github.com/oshi/oshi is used, for mem the java runtime
- CPU_MAX: The max value of the CPU
- MEM_FREE: Runtime.getRuntime().freeMemory()
- MEM_TOTAL: Runtime.getRuntime().totalMemory()
Schema is optional. If not given all values as above are created in the output.
It is possible receive less load data by removing attributes from the schema, e.g., if NET_MAX is removed not network max load is measured and printed.
The options field here set the period for the Timer transport handler, so every 2 seconds a new measurement is created.