- Reference >
- Database Commands >
- connPoolStats
connPoolStats¶
-
connPoolStats¶ Note
connPoolStatsonly returns meaningful results formongosinstances and formongodinstances in sharded clusters.The command
connPoolStatsreturns 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 theconnPoolStatsoutput.