add memory usage to status api endpoint

This commit is contained in:
Roman Shtylman
2016-11-27 12:47:59 -08:00
parent c67d1a4d37
commit 30df06ff14

View File

@@ -265,6 +265,7 @@ module.exports = function(opt) {
app.get('/api/status', function(req, res, next) {
res.json({
tunnels: stats.tunnels,
mem: process.memoryUsage(),
});
});