Socket
Socket
Sign inDemoInstall

pm2-server-monit

Package Overview
Dependencies
341
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.2 to 2.5.3

7

lib/proc.js

@@ -1,3 +0,4 @@

var pmx = require('pmx');
var pmx = require('pmx');
var os = require('os');
var cp = require('child_process');
var exec = require('./exec.js');

@@ -12,4 +13,4 @@

if (os.platform() == 'darwin') {
var nb = cp.execSync('ps -A').toString()
nb = nb.split('\n')
var nb = cp.execSync('ps -A').toString();
nb = nb.split('\n');
metrics.procRunning.set(nb.length - 1);

@@ -16,0 +17,0 @@ return;

{
"name": "pm2-server-monit",
"version": "2.5.2",
"version": "2.5.3",
"description": "Rack to monitor a server",

@@ -5,0 +5,0 @@ "repository": {

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