igdqyw
Last Updated: February 25, 2016
·
6.231K
· marius_stuparu
 dsc0617

Better Node.js monitoring and clustering with PM2

Replace Forever with PM2, and access some very nice features:

npm install pm2 -g

Multiple instances for multi-core CPUs

pm2 start app.js -i 4 --name servername

Monitor processes (GUI)

pm2 monit

Hot reload

pm2 reload all

Linux startup script generator

pm2 startup

Log aggregation

pm2 logs

Run CoffeeScript

pm2 start my_app.coffee

https://github.com/Unitech/pm2

Say Thanks
Respond
Awesome Job

9f636f3e 6e39 11e7 9fd5 de0ca15231c3
Software Engineer
·
St. Thomas, VI, or Landenberg, PA
·
Full Time