Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | Dalšà |
Memcache::getExtendedStats
(no version information, might be only in CVS)
Memcache::getExtendedStats -- Get statistics from all servers in poolPopis
array Memcache::getExtendedStats ( [string type [, int slabid [, int limit]]] )Memcache::getExtendedStats() returns a two-dimensional associative array with server statistics. Array keys correspond to host:port of server and values contain the individual server statistics. A failed server will have its corresponding entry set to FALSE. You can also use the memcache_get_extended_stats() function.
Poznámka: This function has been added to Memcache version 2.0.0.
Seznam parametrů
type
The type of statistics to fetch. Valid values are {reset, malloc, maps, cachedump, slabs, items, sizes}. According to the memcached protocol spec these additional arguments "are subject to change for the convenience of memcache developers".
slabid
Used in conjunction with
type
set to cachedump to identify the slab to dump from. The cachedump command ties up the server and is strictly to be used for debugging purposes.limit
Used in conjunction with
type
set to cachedump to limit the number of entries to dump. Default value is 100.
Návratové hodnoty
Returns a two-dimensional associative array of server statistics or FALSE on failure.
PÅ™Ãklady
PÅ™edcházejÃcà | Domů | Dalšà |
Memcache::get | Nahoru |