Add Who's Online mod

This commit is contained in:
Bryan Ashby 2015-11-25 18:03:47 -07:00
parent e475bacdf8
commit 15cf37c55c
7 changed files with 22 additions and 6 deletions

View file

@ -105,7 +105,7 @@ function getPredefinedMCIValue(client, code) {
// :TODO: cpu load average (over N seconds): http://stackoverflow.com/questions/9565912/convert-the-output-of-os-cpus-in-node-js-to-percentage
// :TODO: Node version/info
AN : function activeNodes() { return clientConnections.getActiveConnections().toString(); },
AN : function activeNodes() { return clientConnections.getActiveConnections().length.toString(); },
TC : function totalCalls() { return sysProp.getSystemProperty('login_count').toString(); },