UNPKG

1.25 kBPlain TextView Raw
1
2 -------------
3
4__/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____
5 _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___
6 _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__
7 _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___
8 _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____
9 _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________
10 _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________
11 _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_
12 _\///______________\///______________\///__\///////////////__
13
14
15 Runtime Edition
16
17 PM2 is a Production Process Manager for Node.js applications
18 with a built-in Load Balancer.
19
20 Start and Daemonize any application:
21 $ pm2 start app.js
22
23 Load Balance 4 instances of api.js:
24 $ pm2 start api.js -i 4
25
26 Monitor in production:
27 $ pm2 monitor
28
29 Make pm2 auto-boot at server restart:
30 $ pm2 startup
31
32 To go further checkout:
33 http://pm2.io/
34
35
36 -------------