Created
October 25, 2016 01:30
-
-
Save jkulak/c5c36896fc574653ff7b47cdd9b1a8d1 to your computer and use it in GitHub Desktop.
pm2 desc 0 output
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
root@ubuntu-512mb-sfo1-01:/var/www/my-app/www# pm2 desc 0 | |
Describing process with id 0 - name app | |
┌───────────────────┬──────────────────────────────────────────────────────┐ | |
│ status │ online │ | |
│ name │ app │ | |
│ restarts │ 1 │ | |
│ uptime │ 33s │ | |
│ script path │ /var/www/my-app/releases/161024_234855/app.js │ | |
│ script args │ N/A │ | |
│ error log path │ /root/.pm2/logs/app-error-0.log │ | |
│ out log path │ /root/.pm2/logs/app-out-0.log │ | |
│ pid path │ /root/.pm2/pids/app-0.pid │ | |
│ interpreter │ node │ | |
│ interpreter args │ N/A │ | |
│ script id │ 0 │ | |
│ exec cwd │ /var/www/my-app/releases/161024_234855 │ | |
│ exec mode │ fork_mode │ | |
│ node.js version │ 6.9.1 │ | |
│ watch & reload │ ✘ │ | |
│ unstable restarts │ 10 │ | |
│ created at │ 2016-10-25T01:06:03.861Z │ | |
└───────────────────┴──────────────────────────────────────────────────────┘ | |
Add your own code metrics: http://bit.ly/code-metrics | |
Use `pm2 logs app [--lines 1000]` to display logs | |
Use `pm2 monit` to monitor CPU and Memory usage app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment