@Override
	public void run() {
		String[] cmd = new String[] { "tail", "-500f",
				"/home/maria/Templates/flumelogs/AOP.log" };
		BufferedReader infoBr = null;
		String msg;
		try {
			Process process = new ProcessBuilder(cmd).start();
//			infoBr = new BufferedReader(new InputStreamReader(process.getInputStream()));
//			while ((msg = infoBr.readLine()) != null) {
//				log.info(msg);
//			}

			int val = process.waitFor();
			if (val != 0) {
			}

			if (null != process) {
				process.destroy();
				process = null;
			}

		} catch (IOException e) {
			log.error("IOException...", e);
		} catch (InterruptedException e) {
			log.error("InterruptedException...", e);
		} finally {
			IOUtils.closeQuietly(infoBr);
		}
	}