pm2常用命令记录
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| pm2 start main.py -x pm2 start app.js pm2 start app.js -i 4 pm2 start app.js pm2 start app.js pm2 start script.sh pm2 list pm2 monit pm2 show [app-name] pm2 logs pm2 logs [app-name] pm2 flush pm2 stop all pm2 stop 0 pm2 restart all pm2 reload all pm2 gracefulReload all pm2 delete all pm2 delete 0 pm2 scale api 10 pm2 reset [app-name] pm2 startup pm2 save pm2 resurrect pm2 update pm2 generate
|
pm2文档地址:http://pm2.keymetrics.io/docs/usage/quick-start/