Lightweight process monitor