Skip to content

sydcanem/node-free

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

npm

About

Get OS memory stats in OSX and Linux.

Resources

Stars

Watchers

Forks

Packages

No packages published