Socket
Socket
Sign inDemoInstall

vtop

Package Overview
Dependencies
5
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "vtop",
"version": "0.1.0",
"version": "0.1.1",
"description": "Wow such top. So stats",

@@ -5,0 +5,0 @@ "main": "run.js",

@@ -10,3 +10,3 @@ /**

fs = require('fs'),
process = require('child_process');
child_process = require('child_process');

@@ -52,3 +52,3 @@ var plugin = {

var stats = {};
var ps = process.exec('ps -ewwwo %cpu,%mem,comm', function (error, stdout, stderr) {
var ps = child_process.exec('ps -ewwwo %cpu,%mem,comm', function (error, stdout, stderr) {
var lines = stdout.split("\n");

@@ -55,0 +55,0 @@ // Ditch the first line

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc