Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

log_killcursor(3) [php man page]

LOG_KILLCURSOR(3)							 1							 LOG_KILLCURSOR(3)

log_killcursor - Callback When Executing KILLCURSOR operations

SYNOPSIS
log_killcursor (array $server, array $info) DESCRIPTION
A callable function, used by the log_killcursor context option, when reading a killcursor from MongoDB. Note This is not a real function, only a prototype of how the function should be. PARAMETERS
o $server - An array containing the basic information about the server that was picked. +-----------------+---------------------------------------------------+ | key | | | | | | | value | | | | +-----------------+---------------------------------------------------+ | hash | | | | | | | server hash, example: localhost:27017;-;X;56052 | | | | | type | | | | | | | Node type (primary/secondary/mongos/arbiter): 2 | | | | | max_bson_size | | | | | | | The maximum BSON Size over the wire this node | | | accepts: 16777216 | | | | |max_message_size | | | | | | | The maximum Message Size over the wire this node | | | accepts: 48000000 | | | | | request_id | | | | | | | The request identifier for this message: 42 | | | | +-----------------+---------------------------------------------------+ o $info - +----------+----------------------------------------+ | key | | | | | | | value | | | | +----------+----------------------------------------+ |cursor_id | | | | | | | integer, the cursor identifier to kill | | | | +----------+----------------------------------------+ PHP Documentation Group LOG_KILLCURSOR(3)

Check Out this Related Man Page

MONGOCLIENT.GETCONNECTIONS(3)						 1					     MONGOCLIENT.GETCONNECTIONS(3)

MongoClient::getConnections - Return info about all open connections

SYNOPSIS
publicstatic array MongoClient::getConnections (void ) DESCRIPTION
Returns an array of all open connections, and information about each of the servers PARAMETERS
This function has no parameters. RETURN VALUES
An array of open connections. EXAMPLES
Example #1 MongoClient::getConnections example <?php $m = new MongoClient; var_dump($m->getConnections()); ?> The above example will output something similar to: array(1) { [0]=> array(3) { ["hash"]=> string(26) "localhost:27017;-;X;56052" ["server"]=> array(3) { ["host"]=> string(10) "localhost" ["port"]=> int(27017) ["pid"]=> int(56052) } ["connection"]=> array(8) { ["last_ping"]=> int(1354076401) ["last_ismaster"]=> int(0) ["ping_ms"]=> int(0) ["connection_type"]=> int(1) ["connection_type_desc"]=> string(10) "STANDALONE" ["max_bson_size"]=> int(16777216) ["tag_count"]=> int(0) ["tags"]=> array(0) { } } } } PHP Documentation Group MONGOCLIENT.GETCONNECTIONS(3)
Man Page