Comparing version 0.0.3 to 0.0.4
@@ -21,2 +21,3 @@ var os = require('os') | ||
sunos: wrapper('ps'), | ||
freebsd: wrapper('ps'), | ||
win: wrapper('win'), | ||
@@ -23,0 +24,0 @@ linux: wrapper('proc'), |
{ | ||
"name": "pidusage", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Process cpu % and memory use of a PID", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -32,3 +32,3 @@ pidusage | ||
### Linux | ||
We use `/proc/{pid}/stat` in addition to the the `PAGE_SIZE` and the `CLK_TCK` direclty from `getconf()` command. Uptime comes from the nodejs `os.uptime()`. | ||
We use `/proc/{pid}/stat` in addition to the the `PAGE_SIZE` and the `CLK_TCK` direclty from `getconf()` command. Uptime comes from `proc/uptime` file because it's more accurate than the nodejs `os.uptime()`. | ||
@@ -35,0 +35,0 @@ ### On darwin, freebsd, solaris (tested on 10/11) |
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
14228
308