rewrite of idle resource monitor for path