cpu-load
Return the average CPU load across a spectrum of time
Last updated 11 years ago by davidchubbs .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cpu-load 
SYNC missed versions from official npm registry.

CPU Load

License Dependency Status NPM version

No dependencies.

npm install cpu-load
let cpu = require('cpu-load')

// track the CPU load over the next 1 second
cpu(1000, function (load) {
  load //=> 0.03 (3%)
})

The CPU load is averaged across multi-core machines. No need to divide the cpu-load results against the number of cores.

Current Tags

  • 1.0.0                                ...           latest (11 years ago)

3 Versions

  • 1.0.0                                ...           11 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |