Permalink
240 lines (160 sloc) 7.14 KB

PM2 production process manager

Table of contents

Quick start

Features

Using PM2 in Cloud Providers (Heroku/Google App Engine/Azure)

Deployment - ecosystem.json

Using PM2 programmatically (via API)

Specific

Knowledge

More


Quick start

Installation

Quick Start

How to update PM2

Update PM2

PM2 tab-completion

Tab-completion for pm2

Features

Managing applications states

Process Management

Process listing

Process Listing

Monitoring CPU/Memory

Monitoring

Clustering

Cluster mode

Hot reload / 0s reload

Reload without Downtime

Graceful reload

Graceful Reload

Logs management

Log Management

Max Memory Restart

Max Memory Restart

Startup script

Startup Script

Multiple PM2 on the same server

Multiple PM2

Watch & Restart

Watch and Restart

JS/JSON app declaration

Application Declaration

Using PM2 in development

PM2 in Development

Run Next generation Javascript

Run ES6

Using PM2 in Cloud Providers

Using PM2 with PaaS

Deployment

Deployment

Using PM2 programmatically

PM2 API

Special features

Specifics

Enabling Harmony ES6

Specifics

CoffeeScript

Specifics

Knowledge

Knowledge

Contributing

Contributing

User tips from issues

External resources and articles

Contributors

Contributors

Sponsors

Thanks to Devo.ps and Wiredcraft for their knowledge and expertise.

License

Files in lib/ are made available under the terms of the GNU Affero General Public License 3.0 (AGPL 3.0). Except the file lib/CLI.js who is made under the terms of the Apache V2 license.