tldr/pages/common/pm2.md
Vincent Yang 7fd90b1d58 pm2: add page (#1306)
* pm2: add page

* Make Travis happy

* Added pm2 restart

* Simplifying examples

* Fixed typo
2017-04-06 07:40:06 -04:00

368 B

pm2

Process manager for Node.js. Used for log management, monitoring and configuring processes.

  • Start a process with a name that can be used for later operations:

pm2 start {{app.js}} --name {{myapp}}

  • List processes:

pm2 list

  • Monitor all processes:

pm2 monit

  • Stop process:

pm2 stop {{myapp}}

  • Restart process:

pm2 restart {{myapp}}