Comparing version 0.0.4 to 0.0.5
@@ -45,2 +45,3 @@ var os = require('os') | ||
//according to http://man7.org/linux/man-pages/man5/proc.5.html (index 0 based - 2) | ||
//In kernels before Linux 2.6, start was expressed in jiffies. Since Linux 2.6, the value is expressed in clock ticks | ||
var stat = { | ||
@@ -51,7 +52,2 @@ utime: parseFloat(infos[11]), | ||
cstime: parseFloat(infos[14]), | ||
/** | ||
* In kernels before Linux 2.6, this value was | ||
* expressed in jiffies. Since Linux 2.6, the value | ||
* is expressed in clock ticks | ||
*/ | ||
start: parseFloat(infos[19]) / cpu.clock_tick, | ||
@@ -58,0 +54,0 @@ rss: parseFloat(infos[21]) |
{ | ||
"name": "pidusage", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Process cpu % and memory use of a PID", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
pidusage | ||
======== | ||
[![Build Status](https://travis-ci.org/soyuka/pidusage.svg?branch=master)](https://travis-ci.org/soyuka/pidusage) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/dqs82fp92pf2rey5)](https://ci.appveyor.com/project/soyuka/pidusage) | ||
Process cpu % and memory use of a PID | ||
@@ -5,0 +8,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15527
13
46
304