Free utility in Node
Get OS memory stats in OSX and Linux.
Install with
npm install node-free
Usage
var memory = ; memory; // total memory in bytesmemory; // used memory in bytesmemory; // free memory in bytes
Prettify output with bytes
Tested with
- OSX
- Centos 6 and 7