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
| http://pm2.keymetrics.io/docs/usage/use-pm2-with-cloud-providers/ |
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
| connect:dispatcher query : /api/bucket/create_classic +312ms | |
| connect:dispatcher expressInit : /api/bucket/create_classic +0ms | |
| connect:dispatcher favicon : /api/bucket/create_classic +1ms | |
| connect:dispatcher json : /api/bucket/create_classic +0ms | |
| connect:dispatcher urlencoded : /api/bucket/create_classic +0ms | |
| connect:dispatcher cookieParser : /api/bucket/create_classic +0ms | |
| connect:dispatcher session : /api/bucket/create_classic +0ms | |
| connect:session no SID sent, generating session +1ms | |
| connect:dispatcher initialize : /api/bucket/create_classic +0ms | |
| connect:dispatcher authenticate : /api/bucket/create_classic +1ms |
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
| >>> node path-check.js | |
| /Users/shant/keymetrics/PM2/test/fixtures/path-check.js | |
| /Users/shant/keymetrics/PM2/test/fixtures | |
| { id: '.', | |
| exports: {}, | |
| parent: null, | |
| filename: '/Users/shant/keymetrics/PM2/test/fixtures/path-check.js', | |
| loaded: false, | |
| children: [], | |
| paths: |
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
| console.log(__filename); | |
| console.log(module.filename); | |
| console.log(module.parent); | |
| console.log(module.children); | |
| console.log(__dirname); | |
| console.log(module) | |
| console.log(process.env.PWD) | |
| console.log(require.main.filename) | |
| console.log(require.main === module) |
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
| var fs = require('fs'); | |
| profiler.startProfiling('toto') | |
| setTimeout(function() { | |
| var cpu = profiler.stopProfiling('toto'); | |
| var snapshot = profiler.takeSnapshot('sisi'); | |
| var buffer = ''; |
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
| 2015-06-09 08:03:14: [WATCHDOG] Already relaunching PM2 | |
| 2015-06-09 08:03:14: [PUSH] Reconnecting to PM2 | |
| 2015-06-09 08:03:14: [REV] Disconnected from PM2 | |
| /bin/sh: 1: /home/ubuntu/bin/pm2: not found | |
| 2015-06-09 08:03:19: [WATCHDOG] PM2 is disconnected - Relaunching PM2 | |
| 2015-06-09 08:03:19: [WATCHDOG] Trying to launch PM2 #1 | |
| 2015-06-09 08:03:19: [PUSH] Reconnecting to PM2 | |
| 2015-06-09 08:03:19: [REV] Disconnected from PM2 | |
| 2015-06-09 08:03:19: [WATCHDOG] PM2 is disconnected - Relaunching PM2 | |
| 2015-06-09 08:03:19: [WATCHDOG] Already relaunching PM2 |
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
| { | |
| "timestamp" : 1434455992409, | |
| "cluster_name" : "elasticsearch-ansible", | |
| "status" : "yellow", | |
| "indices" : { | |
| "count" : 1163, | |
| "shards" : { | |
| "total" : 5815, | |
| "primaries" : 5815, | |
| "replication" : 0.0, |
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
| { | |
| "timestamp" : 1434456254338, | |
| "cluster_name" : "elasticsearch", | |
| "status" : "yellow", | |
| "indices" : { | |
| "count" : 464, | |
| "shards" : { | |
| "total" : 1448, | |
| "primaries" : 1448, | |
| "replication" : 0.0, |
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
| { _connecting: false, | |
| _hadError: false, | |
| _handle: | |
| { fd: 15, | |
| reading: true, | |
| owner: [Circular], | |
| onread: [Function: onread], | |
| onconnection: null, | |
| writeQueueSize: 0 }, | |
| _parent: null, |
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
| { _connecting: false, | |
| _hadError: false, | |
| _handle: | |
| { fd: 14, | |
| reading: true, | |
| owner: [Circular], | |
| onread: [Function: onread], | |
| onconnection: null, | |
| writeQueueSize: 0 }, | |
| _parent: null, |