system-stats
Access host's file system, processor and memory usage.
This NPM package is written in ES6, so it is recommended to use strictly Node >= v6.4.0.
Usage
This package returns a Promise:
const system_stats = // (1) Ask for system statssystem_stats// (2) Process promise response
Output
Parameters and Units
// [1, 5, 15]-minute CPU avgs normalized to [0.0, 1.0]: proc: 0005576171875 0008974609375 0010400390625 mem: total: 16737234944 // bytes free: 4571918336 // bytes load: 07268414794141997 // normalized to [0.0, 1.0] uptime: 747954 // seconds fs: available: 2335936512 // bytes free: 5330980864 // bytes total: 58495991808 // bytes load: 09600667252609856 // normalized to [0.0, 1.0]