Lightweight, efficient and concurrent process monitor