monitor running time and sleep time