Created
May 5, 2014 15:39
-
-
Save Unitech/916e4d47dcd4cf3efef7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1z [tknew:~/Unitech/pm2-software/pm2] master(+18/-17)+* ± ./bin/pm2 start test/fixtures/server-watch.bak.js --watch | |
{ online: true, success: true, pid: 26944, pm2_version: '0.8.2' } | |
PM2 Process launched | |
┌──────────────────┬────┬─────────┬───────┬────────┬──────┬───────────┬────────┬─────────────┬───────────┐ | |
│ App name │ id │ mode │ PID │ status │ port │ restarted │ uptime │ memory │ watching │ | |
├──────────────────┼────┼─────────┼───────┼────────┼──────┼───────────┼────────┼─────────────┼───────────┤ | |
│ server-watch.bak │ 0 │ cluster │ 26954 │ online │ │ 0 │ 0s │ 11.680 MB │ activated │ | |
└──────────────────┴────┴─────────┴───────┴────────┴──────┴───────────┴────────┴─────────────┴───────────┘ | |
Use `pm2 desc[ribe] <id>` to get more details | |
1z [tknew:~/Unitech/pm2-software/pm2] master(+18/-17)+* ± ./bin/pm2 restart 0 | |
Processing...... | |
PM2 Restarting process by id 0 | |
PM2 Process 0 restarted | |
┌──────────────────┬────┬─────────┬───────┬───────────┬──────┬───────────┬────────┬─────────────┬───────────┐ | |
│ App name │ id │ mode │ PID │ status │ port │ restarted │ uptime │ memory │ watching │ | |
├──────────────────┼────┼─────────┼───────┼───────────┼──────┼───────────┼────────┼─────────────┼───────────┤ | |
│ server-watch.bak │ 0 │ cluster │ 27052 │ launching │ │ 1 │ 0 │ 11.000 MB │ activated │ | |
└──────────────────┴────┴─────────┴───────┴───────────┴──────┴───────────┴────────┴─────────────┴───────────┘ | |
Use `pm2 desc[ribe] <id>` to get more details | |
1z [tknew:~/Unitech/pm2-software/pm2] master(+18/-17)+* ± ./bin/pm2 list | |
┌──────────────────┬────┬─────────┬───────┬─────────┬──────┬───────────┬────────┬────────┬───────────┐ | |
│ App name │ id │ mode │ PID │ status │ port │ restarted │ uptime │ memory │ watching │ | |
├──────────────────┼────┼─────────┼───────┼─────────┼──────┼───────────┼────────┼────────┼───────────┤ | |
│ server-watch.bak │ 0 │ cluster │ 27273 │ errored │ │ 16 │ 0 │ 0 B │ activated │ | |
└──────────────────┴────┴─────────┴───────┴─────────┴──────┴───────────┴────────┴────────┴───────────┘ | |
Use `pm2 desc[ribe] <id>` to get more details |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment