发布于 2015-09-14 15:02:17 | 185 次阅读 | 评论: 0 | 来源: 网络整理
注解
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 连接池的统计参考 for full documentation of the connPoolStats output.