check if there is a new process activated or terminated