process monitor framework