Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pidusage

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pidusage - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

appveyor.yml

6

lib/stats.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc