1.0.0 • Published 9 years ago
node-free v1.0.0
Free utility in Node
Get OS memory stats in OSX and Linux.
Install with
npm install node-free
Usage
var memory = require('node-free');
memory.total(); // total memory in bytes
memory.used(); // used memory in bytes
memory.free(); // free memory in bytes
Prettify output with bytes
Tested with
- OSX
- Centos 6 and 7
License
1.0.0
9 years ago