(PECL mongo >=1.2.0)
Returns information about all connection pools.
public array Mongo::poolDebug ( void )
Returns an array of information about all connection pools.
Returns:
Each connection pool has an identifier, which starts with the host. For each pool, this function shows the following fields:
in use The number of connections currently being used by MongoClient instances. in pool