📌 PM2 Process Management Command Description pm2 start app.cjs --name waconnect pm2 list # show processes pm2 logs waconnect # view logs live pm2 restart waconnect # restart pm2 stop waconnect # stop pm2 delete waconnect # remove from pm2 pm2 start Start a Node.js app (e.g., pm2 start app.js) pm2 start --name Start app with a custom name for easier management `pm2 stop ` `pm2 restart ` `pm2 reload ` `pm2 delete ` pm2 list Show all running PM2 processes with their status `pm2 describe ` 📌 Logs Management Command Description pm2 logs Show real-time logs of all processes pm2 logs Show logs for a specific process pm2 flush Clear all logs but keep processes running pm2 flush Clear logs for a specific process pm2 monit Open an interactive console showing CPU, memory, and logs 📌 Startup & Persistence Command Description pm2 startup Generate and configure system startup script so PM2 restarts on server reboot pm2 save Save current process list and environment for auto-restart on reboot pm2 resurrect Restore saved processes after PM2 or server restart pm2 update Update PM2 to latest version without killing processes 📌 Miscellaneous / Maintenance Command Description pm2 reload all Reload all apps without downtime pm2 stop all Stop all running apps pm2 delete all Delete all apps from PM2 pm2 reset Reset app status and counters (useful after errors) pm2 kill Stop PM2 daemon and all managed apps pm2 version Show PM2 version pm2 help Show all PM2 commands with help