Navigation
This version of the manual is no longer supported.

connPoolStats

connPoolStats

Note

connPoolStats only returns meaningful results for mongos instances and for mongod instances in sharded clusters.

The command connPoolStats returns information regarding the number of open connections to the current database instance, including client connections and server-to-server connections for replication and clustering. The command takes the following form:

{ connPoolStats: 1 }

The value of the argument (i.e. 1 ) does not affect the output of the command. See Connection Pool Statistics Reference for full documentation of the connPoolStats output.