PHP memcache_getstats function
Memcache::getStats
(no version information, might be only in CVS)
Memcache::getStats — Get statistics of the serverDescriptionarray Memcache::getStats ( [string type [, int slabid [, int limit]]] )
Memcache::getStats() returns an associative array
with server’s statistics. Array keys correspond to stats parameters and
values to parameter’s values.
Also you can use memcache_get_stats() function.
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”.
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.
Used in conjunction with type set to
cachedump to limit the number of entries to dump. Default value
is 100.
Return Values
Returns an associative array of server statistics or FALSE on failure.
Memcache::getVersion()Memcache::getExtendedStats()
You’re currently reading “ PHP memcache_getstats function ,” an entry on BRADINO
- Published:
- 2.26.07 / 12am
- Category:
- PHP Functions























Have your say