Files: e9d9dec1d00ff365112ca0f981bbda15e3682528 / 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