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