diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-03-10 14:13:18 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-03-10 14:13:18 -0500 |
commit | 141a94b37a51945bb80e439fcb5faaa786fecbee (patch) | |
tree | 17636939feb3f8eb0cabebcef5fe17ced93aa1e3 /shell | |
parent | eb7cde3e751b02eae055a922af8985fe52c807fa (diff) | |
download | mongo-141a94b37a51945bb80e439fcb5faaa786fecbee.tar.gz |
adding db.serverStatus() to db.help()
Diffstat (limited to 'shell')
-rw-r--r-- | shell/db.js | 1 |
1 files changed, 1 insertions, 0 deletions
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,<slowms>) 0=off 1=slow 2=all"); print("\tdb.shutdownServer()"); print("\tdb.stats()"); |