From 141a94b37a51945bb80e439fcb5faaa786fecbee Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Wed, 10 Mar 2010 14:13:18 -0500 Subject: [PATCH] adding db.serverStatus() to db.help() --- shell/db.js | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/db.js b/shell/db.js index 9b0d7c545ac..bdb11532857 100644 --- a/shell/db.js +++ b/shell/db.js @@ -282,6 +282,7 @@ DB.prototype.help = function() { print("\tdb.repairDatabase()"); print("\tdb.resetError()"); print("\tdb.runCommand(cmdObj) run a database command. if cmdObj is a string, turns it into { cmdObj : 1 }"); + print("\tdb.serverStatus()"); print("\tdb.setProfilingLevel(level,) 0=off 1=slow 2=all"); print("\tdb.shutdownServer()"); print("\tdb.stats()");