pm2

pm2

TLDR

Start a process with a name that can be used for later operations

>_ pm2 start [app.js] --name [myapp]
copy

List processes

>_ pm2 list
copy

Monitor all processes

>_ pm2 monit
copy

Stop a process

>_ pm2 stop [myapp]
copy

Restart a process

>_ pm2 restart [myapp]
copy

Dump all processes for resurrecting them later

>_ pm2 save
copy

Resurrect previously dumped processes

>_ pm2 resurrect
copy

Launch monitoring

>_ pm2 monit
copy

Copied to clipboard
free 100$ digital ocean credit