Detect if your code is running under PM2.
*For easily managing slave processes.*
wonderful task manager for Procfile-based or npm-based applications
Process manager for Nodejs.
Load process manager helps node developers to manage request handling accross processes by taking into account the actual load. It eases also interprocess communication.
A zero-configuration dev server process manager + proxy for development in any language.