Socket
Socket
Sign inDemoInstall

pm2

Package Overview
Dependencies
14
Maintainers
1
Versions
277
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.7 to 0.4.8

pres/pm2-large.png

6

lib/CliUx.js

@@ -9,3 +9,7 @@

UX.dispAsTable = function(list) {
var table = new Table({ head: ["Script", "id", "PID","status", "Restarted", "Last restart", "memory", "err logs"] });
var table = new Table({
head: ["Script", "id", "PID","status", "Restarted", "Last restart", "memory", "err logs"],
colAligns : ['left', 'left', 'left', 'left', 'left', 'left', 'right']
});
list.forEach(function(l) {

@@ -12,0 +16,0 @@ var u = l.opts.script;

7

package.json
{
"name": "pm2",
"preferGlobal": "true",
"version": "0.4.7",
"version": "0.4.8",
"engines" : {

@@ -19,2 +19,5 @@ "node" : ">=0.8"

"email" : "contact@devo.ps"
}, {
"name" : "John Hurliman",
"email" : "jhurliman@jhurliman.org"
}],

@@ -49,3 +52,3 @@ "homepage" : "http://unitech.io/",

"multimeter": "git://github.com/Unitech/node-multimeter.git",
"usage" : "0.3.5",
"usage" : "0.3.6",
"axon-rpc" : "0.0.2",

@@ -52,0 +55,0 @@ "watch" : "0.7.0",

@@ -1,2 +0,2 @@

![Monit](https://github.com/unitech/pm2/raw/master/pres/pm2.png)
![Monit](https://github.com/unitech/pm2/raw/master/pres/pm22.png)

@@ -61,2 +61,15 @@ [![Build Status](https://travis-ci.org/Unitech/pm2.png)](https://travis-ci.org/Unitech/pm2)

## Is my production server ready for PM2 ?
Just try the tests before using PM2 on your production server
```
$ git clone https://github.com/Unitech/pm2.git
$ cd pm2
$ npm install --dev
$ npm test
```
If a test is broken please report us issues [here](https://github.com/Unitech/pm2/issues?state=open)
## pm2 list

@@ -107,3 +120,3 @@

- Auto stop processes who exit too fast
- Dump current processes and resurect (upstart)
- Dump current processes and resurrect (upstart)

@@ -164,2 +177,6 @@ # Multi process JSON declaration

# Sponsors
Thanks to [Devo.ps](http://devo.ps/) and [Wiredcraft](http://wiredcraft.com/) for their knowledge and expertise.
# License

@@ -166,0 +183,0 @@

@@ -83,6 +83,6 @@

pm_pid_path : path.resolve(process.cwd(), 'test/child'),
instances : 'max'
instances : 10
}, function(err, procs) {
God.getFormatedProcesses().length.should.equal(numCPUs);
procs.length.should.equal(numCPUs);
God.getFormatedProcesses().length.should.equal(10);
procs.length.should.equal(10);
God.stopAll(done);

@@ -89,0 +89,0 @@ });

@@ -5,2 +5,3 @@

var assert = require('better-assert');
var os = require('os');

@@ -21,3 +22,3 @@ describe('Monit', function() {

monit: {
memory: 13357056,
memory: os.totalmem() / 50,
cpu: 0

@@ -31,3 +32,3 @@ }

monit: {
memory: 133570560,
memory: os.totalmem() / 10,
cpu: 0

@@ -41,3 +42,3 @@ }

monit: {
memory: 1335705600,
memory: os.totalmem() / 2,
cpu: 0

@@ -53,3 +54,3 @@ }

monit: {
memory: 23357096,
memory: os.totalmem() / 25,
cpu: 0

@@ -63,3 +64,3 @@ }

monit: {
memory: 233570560,
memory: os.totalmem() / 5,
cpu: 0

@@ -73,3 +74,3 @@ }

monit: {
memory: 2335705600,
memory: os.totalmem() / 8,
cpu: 0

@@ -76,0 +77,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc