PM2 Commands
The PM2 commands I reach for most.
"app" refers to the project name created with pm2
pm2 show app # Display all information about an application
pm2 -h # View pm2 help information, showing command usage
pm2 start app.js -n project # Alias the application as "project"
pm2 list # Show all projects
pm2 stop app # Stop an application service
pm2 restart app # Restart an application service
pm2 delete app # Remove an application from the process list
pm2 status # Check status
pm2 monit # View CPU and memory usage