utilized
v1.0.0
Published
> System resource usage reporter
Downloads
2
Readme
Utilized
System resource usage reporter
Table of Contents
Install
npm i utilized
# Or with Yarn
yarn add utilized
Usage
const utilized = require('./index').default;
(async () => {
const sysUtil = await utilized();
console.log(JSON.stringify(sysUtil.get(), null, 2));
// {
// "memory": {
// "free": 25442,
// "total": 31807
// },
// "cpu": {
// "usage": 4.9,
// "count": 12
// }
// }
})();
Laziness has prevented usage instructions from being documented.
Contributing
See the contribute file!
PRs accepted.