Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 21557 программистов и 1064 робота. Сейчас ищут 628 программистов ...
Приступая к работе

Memcache::getStats - Get statistics of the server

Вернуться к: Memcache

Memcache::getStats

(PECL memcache >= 0.2.0)

Memcache::getStatsGet statistics of the server

Описание

array Memcache::getStats ([ string $type [, int $slabid [, int $limit = 100 ]]] )

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".

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.

Возвращаемые значения

Returns an associative array of server statistics или FALSE в случае возникновения ошибки.

Смотрите также



Вернуться к: Memcache

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware