public String toString() {
		String status = "Jobs waiting for execution: " + waitingJobs.size()
				+ "\n" + "Jobs running: " + runningJobs.size() + "\n"
				+ "Finished jobs: " + finishedJobs.size() + "\n"
				+ "Failed jobs (resubmitted): " + failedJobs.size() + "\n";
		long totaltime = 0;
		for (JobMetaData job : finishedJobs.values()) {
			totaltime += (job.getEndtime() - job.getStarttime());
		}
		long average = 0;
		if (finishedJobs.size() > 0)
			average = totaltime / finishedJobs.size();
		status += "Average running time of jobs: " + (average / 1000) + " s\n";
		if (finishedJobs.size() > 0)
			for (Entry<JobType, Long> entry : totalTimesForJobs().entrySet()){
				status += "> Spent " + entry.getKey().name() + ": " + (entry.getValue()/finishedJobs.size()) + " ms\n";
			}
		return status;
	}