I need to start a long running, memory/disk/cpu intensive process on Linux, and monitor it so I can :
- check it terminates with a good status code,
- collect stats (mem cpu disk every x minutes )
- alert / restart if the process is flapping
Is there anything out there like that? I know of software to watch services/daemons, but not a long running process, on an ad hoc basis.