usage
Advanced tools
Comparing version 0.3.1 to 0.3.2
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
57
11925
19
230
3