- Reference >
- Database Commands >
- connPoolStats
connPoolStats¶
-
connPoolStats
¶ Note
connPoolStats
only returns meaningful results formongos
instances and formongod
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: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 theconnPoolStats
output.