Socket
Socket
Sign inDemoInstall

usage

Package Overview
Dependencies
1
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.1 to 0.3.2

lib/providers/proc/index.js

2

lib/providers/index.js
var providers = {
'linux': require('./linux'),
'linux': require('./proc'),
'mac': require('./mac'),

@@ -4,0 +4,0 @@ 'win': require('./win'),

{
"name": "usage",
"version": "0.3.1",
"version": "0.3.2",
"description": "simple way to lookup linux process usage",

@@ -5,0 +5,0 @@ "keywords": [

# node-usage [![Build Status](https://travis-ci.org/arunoda/node-usage.png?branch=master)](https://travis-ci.org/arunoda/node-usage)
### linux process usage lookup with nodejs
### process usage lookup with nodejs
* Simple interface to lookup cpu and memory usage of any accessible process on the system.
* Written in 98% JavaScript and logic is based on [procps](http://procps.sourceforge.net/)
* Written in 98% JavaScript and logic is based on [procfs](http://en.wikipedia.org/wiki/Procfs)
> Currently linux is the only supported platform, But I would love to see some Pull Requests :)
## Example

@@ -9,0 +11,0 @@

@@ -9,3 +9,2 @@ #!/usr/bin/env node

mocha.addFile('test/usage.js');
mocha.addFile('test/parseProcStat.js');

@@ -12,0 +11,0 @@ var runner = mocha.run(function(){

Sorry, the diff of this file is not supported yet

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