Class HealthLoggerTimerTask
- java.lang.Object
-
- ej.bon.TimerTask
-
- com.microej.kernel.green.monitoring.HealthLoggerTimerTask
-
- All Implemented Interfaces:
java.lang.Runnable
public class HealthLoggerTimerTask extends ej.bon.TimerTask
Log CPU usage periodicallyThis logger generate the following log:
healthloggertimertask INFO: ---------------------------- healthloggertimertask INFO: Health Monitoring: healthloggertimertask INFO: ---------------------------- healthloggertimertask INFO: Name %CPU %MEM MEM(KB) healthloggertimertask INFO: App1 30.46 0.37 3.28 healthloggertimertask INFO: App2 36.66 1.22 10.68 healthloggertimertask INFO: GREEN 0.14 1.94 17.04 healthloggertimertask INFO: %CPU: 67.25, KB Mem: 878 total, 847 free, 31.00 used healthloggertimertask INFO: Apps: 2
-
-
Field Summary
Fields Modifier and Type Field Description static float
ONE_KB
-
Constructor Summary
Constructors Constructor Description HealthLoggerTimerTask(HealthService healthMonitoringService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Field Detail
-
ONE_KB
public static final float ONE_KB
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HealthLoggerTimerTask
public HealthLoggerTimerTask(HealthService healthMonitoringService)
-
-