get the system memory consumption
Source: lib/api/measurements/mem.js, line 1
(require("mem"))():object
get memory stats from the system
Returns
- Type
- :object
result - {osUsed: % of total memory consumed, freemem: free memory (string), totalmem: total memory (string)}
Source: lib/api/measurements/mem.js, line 13