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}
pm2 list
pm2 monit
pm2 stop {myapp}
pm2 restart {myapp}
- Dump all processes for resurrecting them later:
pm2 save
- Resurrect previously dumped processes:
pm2 resurrect
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).