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