Skip to content

dayuoba/cpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpu

NPM

Status

Build Status

Install

npm install cpu

Usage

var cpu = require('cpu');

var num = cpu.num();//return CPU's nums

cpu.usage(function(usages) {
  console.log(usages);
});// use callback to handle the CPUUsage Array

About

node module for cpu usage based on `os` module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published