OPTIONS

Diagnostic CommandsΒΆ

Name Description
listDatabases Returns a document that lists all databases and returns basic database statistics.
dbHash Internal command to support sharding.
driverOIDTest Internal command that converts an ObjectId to a string to support tests.
listCommands Lists all database commands provided by the current mongod instance.
availableQueryOptions Internal command that reports on the capabilities of the current MongoDB instance.
buildInfo Displays statistics about the MongoDB build.
collStats Reports storage utilization statics for a specified collection.
connPoolStats Reports statistics on the outgoing connections from this MongoDB instance to other MongoDB instances in the deployment.
shardConnPoolStats Reports statistics on a mongos‘s connection pool for client operations against shards.
dbStats Reports storage utilization statistics for the specified database.
cursorInfo Deprecated. Reports statistics on active cursors.
dataSize Returns the data size for a range of data. For internal use.
diagLogging Provides a diagnostic logging. For internal use.
getCmdLineOpts Returns a document with the run-time arguments to the MongoDB instance and their parsed options.
netstat Internal command that reports on intra-deployment connectivity. Only available for mongos instances.
ping Internal command that tests intra-deployment connectivity.
profile Interface for the database profiler.
validate Internal command that scans for a collection’s data and indexes for correctness.
top Returns raw usage statistics for each database in the mongod instance.
indexStats Experimental command that collects and aggregates statistics on all indexes.
whatsmyuri Internal command that returns information on the current client.
getLog Returns recent log messages.
hostInfo Returns data that reflects the underlying host system.
serverStatus Returns a collection metrics on instance-wide resource utilization and status.
features Reports on features available in the current MongoDB instance.
isSelf Internal command to support testing.
←   logRotate listDatabases  →
ON THIS PAGE