Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / usage / usage.js
183 bytesRaw
1 | ; |
2 | |
3 | var usage = require('usage'); |
4 | var pid = process.pid; |
5 | usage.lookup(pid, function (error, result) { |
6 | if (error) throw error; |
7 | if (result.memory) console.log('ok'); |
8 | }); |
9 |
Built with git-ssb-web