node-free
v1.0.0
Published
Get OS memory stats in OSX and Linux.
Maintainers
Readme
Free utility in Node
Get OS memory stats in OSX and Linux.
Install with
npm install node-freeUsage
var memory = require('node-free');
memory.total(); // total memory in bytes
memory.used(); // used memory in bytes
memory.free(); // free memory in bytesPrettify output with bytes
Tested with
- OSX
- Centos 6 and 7
