mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
adding db.serverStatus() to db.help()
This commit is contained in:
parent
eb7cde3e75
commit
141a94b37a
@ -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()");
|
||||
|
Loading…
Reference in New Issue
Block a user