st.getConnector().add(cnn);
MonitorStats mstats = new MonitorStats(Stats.calculateStatus(st), Stats.calculateLoad(st), 0, Stats
.calculateMemoryLoad(st), Stats.calculateThreadLoad(st), "localhost", "8080", "http", System
.currentTimeMillis());
MonitorModel monmodel = new MonitorModel(mstats);
objs.add(monmodel);
}
long afree = Runtime.getRuntime().freeMemory();
long atotal = Runtime.getRuntime().totalMemory();
long amax = Runtime.getRuntime().maxMemory();