• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Gokul Deepak

Gokul Deepak

GoCool and Debug

  • Home
  • WordPress
  • Android
  • How to
  • About Me

PM2 Cheatsheet – Important Commands

October 12, 2020 by Gokul Deepak S Leave a Comment

PM2 Cheatsheet

Commands Action
pm2 start app.js Start a process
pm2 start app.js -name App1 Start a process with a name
pm2 start app.js -i 0 Start processes with Load Balancing
Commands Action
pm2 list Lists all processes
pm2 jlist
pm2 prettylist
pm2 monit
pm2 reset 0 Resets meta data – Started Time
pm2 updatePM2 Updates PM2 Memory
Commands Action
pm2 log 1 Displays log for the particular process
pm2 flush Empties all PM2 log files
pm2 reloadLogs Reloads all PM2 Logs
Commands Action
pm2 save saves all processes
pm2 start all
pm2 stop all
pm2 restart all
pm2 reload all
pm2 delete all
pm2 start 0 / stop 0 / restart 0 / delete 0

Filed Under: Node JS

Authored by Gokul Deepak S

Leave a Reply Cancel reply

0 Comments
Inline Feedbacks
View all comments

Primary Sidebar

Popular Pages

  • How to find the date of the Facebook group it was created
  • How to add ads.txt on Bluehost
  • Elementor Plugin and Nginx Configuration
  • Home
  • CORS error in Apache Tomcat - Solved
  • Combine two separate files line by line in Notepad++

Archives

Categories

  • Android
  • Apache
  • AWS
  • Blogger
  • Computer Tips
  • DevOps
  • Docker
  • Earn
  • Facebook Tips
  • Git
  • Google Tips
  • Hosting
  • How to
  • Laptop Tips
  • Laptops
  • Linux
  • Mobile
  • MongoDB
  • Nginx
  • Node JS
  • Notepad++
  • PostgresQL
  • Ubuntu
  • Wordpress
  • Xenforo

Tags

Android Android One AWS Bluehost Comparisions Custom ROM Elementor Facebook Genesis Genesis Sample Theme Google Drive How to Lineage OS Notes OnePlus One OwnCloud Rooting Smartphones Stock ROM Studiopress Tomcat Wordpress plugin

Copyright © 2023 ยท Maintained by GokulDeepak

wpDiscuz