@Override
	public void run() {
		while (true) {
			if (pool != null) {
				writer.println(System.currentTimeMillis() + ","
						+ waitingJobs.size() + "," + runningJobs.size() + ","
						+ pool.inUseVMCount() + "," + pool.availableVMCount());
				writer.flush();
			}
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
			}
		}
	}