public void run() {
			while (true) {
				try {
					Thread.sleep(1000);
				} catch (Exception ex) {
					ex.printStackTrace();
				}
				CometEngine engine = CometContext.getInstance().getEngine();

				// if (COM1.equals(portName)) {
				// long totalMemory = Runtime.getRuntime().totalMemory();
				//
				// // System.out.println("totalMemory: " + totalMemory);
				// map.put(portName, portName + " : " + totalMemory);
				// }
				//
				// if (COM2.equals(portName)) {
				// long freeMemory = Runtime.getRuntime().freeMemory();
				//
				// System.out.println("freeMemory: " + freeMemory);
				// map.put(portName, portName + " : " + freeMemory);
				// }
				//
				// if (COM3.equals(portName)) {
				// long maxMemory = Runtime.getRuntime().maxMemory();
				//
				// System.out.println("maxMemory: " + maxMemory);
				// map.put(portName, portName + " : " + maxMemory);
				// }

				// System.out.println("###: " + Runtime.getRuntime().freeMemory() / 1024);
				// engine.sendToAll(CHANNEL, map);

				HealthDTO healthDto = new HealthDTO();
				long startup = System.currentTimeMillis();
				long totalMemory = Runtime.getRuntime().totalMemory();
				long freeMemory = Runtime.getRuntime().freeMemory();
				long maxMemory = Runtime.getRuntime().maxMemory();
				long usedMemory = totalMemory - freeMemory;
				Integer connectorCount = engine.getConnections().size();
				healthDto.setConnectorCount(connectorCount.toString());
				healthDto.setFreeMemory(freeMemory);
				healthDto.setMaxMemory(maxMemory);
				healthDto.setTotalMemory(totalMemory);
				healthDto.setUsedMemory(usedMemory);
				long dif = System.currentTimeMillis() - startup;
				long day_mill = 86400000;// 一天的毫秒数 60*60*1000*24
				long hour_mill = 3600000;// 一小时的毫秒数 60*60*1000
				Long day = dif / day_mill;
				Long hour = (dif % day_mill) / hour_mill;
				String str = day.toString() + "天 " + hour.toString() + "小时";
				healthDto.setStartup(str);
				System.out.println("freeMemory: " + healthDto.getFreeMemory());
				engine.sendToAll("talker", healthDto.getFreeMemory());
			}
		}