From 498169e9e386f21e7ee83a9b900cae24dffa3d4b Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Wed, 7 Oct 2009 12:43:24 -0400 Subject: got rid of meminfo and timeinfo and replace with serverStatus --- shell/db.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shell/db.js') diff --git a/shell/db.js b/shell/db.js index 40e92e3f64d..2aabbe31141 100644 --- a/shell/db.js +++ b/shell/db.js @@ -605,6 +605,10 @@ DB.prototype.serverBuildInfo = function(){ return this._adminCommand( "buildinfo" ); } +DB.prototype.serverStatus = function(){ + return this._adminCommand( "serverStatus" ); +} + DB.prototype.version = function(){ return this.serverBuildInfo().version; } -- cgit v1.2.1