System Grab Bag

View all TLDR pages from common (or from all pages)

pm2

Process manager for Node.js. Used for log management, monitoring and configuring processes. More information: https://pm2.keymetrics.io.
  • Start a process with a name that can be used for later operations:
    pm2 start {{app.js}} --name {{application_name}}
  • List processes:
    pm2 list
  • Monitor all processes:
    pm2 monit
  • Stop a process:
    pm2 stop {{application_name}}
  • Restart a process:
    pm2 restart {{application_name}}
  • Dump all processes for resurrecting them later:
    pm2 save
  • Resurrect previously dumped processes:
    pm2 resurrect

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.