Monitor detached child processes with pm2
<p>I have a pretty data heavy Node application. Besides common things like file uploading, the app also spawns detached (long running) child processes. </p>

<p>For an example, consider a user uploads a file and the detached process triggers a native tool installed on the system to do some heavy processing. This can take anywhere between a second and several minutes - therefore the process is detached and the user is notified within the web site (when online) or via email. </p>

<p>I'm considering to use pm2 as monitoring tool. It seems great, though how would I monitor individual detached child processes with it? I've read most of the docs and checked the code examples - but I didn't find an example for my particular problem.</p>

<p>Concrete config examples will be welcome, since I'm new to pm2. </p>