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 Versions

1345

2.0.12

Diff

Changelog

Source

2.0.12

  • fix #69 with ps use elapsed instead of etime to avoid negative cpu values 0994268
  • fix typo in aix ps command #68 7d55518
soyuka
published 2.0.13 •

soyuka
published 2.0.11 •

soyuka
published 2.0.10 •

Changelog

Source

2.0.10

  • aix is using ps (was changed by mistake), still no aix CI though
  • add alpine to the test suite and make it use procfile
  • Improve procfile performances by keeping the procfile open da1c5fb
soyuka
published 2.0.9 •

soyuka
published 2.0.8 •

Changelog

Source

2.0.8

  • After further discussion cpu formula got reverted to the initial one f990f72
soyuka
published 2.0.7 •

Changelog

Source

2.0.7

soyuka
published 2.0.6 •

Changelog

Source

2.0.6

  • procfiles are back because of performance issues 85e20fa

2.0

  • allow multiple pids
  • remove advanced option
  • don't use /proc (procfiles) anymore but use ps instead
  • more tests
  • API change no more stat method, module exports a single function
  • no more unmonitor method, this is handed internally
  • the default call now returns more data:
{
  cpu: 10.0,            // percentage (it may happen to be greater than 100%)
  memory: 357306368,    // bytes
  ppid: 312,            // PPID
  pid: 727,             // PID
  ctime: 867000,        // ms user + system time
  elapsed: 6650000,     // ms since the start of the process
  timestamp: 864000000  // ms since epoch
}
soyuka
published 2.0.5 •

soyuka
published 2.0.4 •

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