memcached-tool 工具

 

perl memcached-tool server_ip:port stats

  輸出說明:bash

pid memcache服務器的進程ID
uptime 服務器已經運行的秒數
time 服務器當前的unix時間戳
version  memcache 版本
pointer_size  當前操做系統的指針大小(32位系統通常是32bit)
rusage_user  進程的累計用戶時間
rusage_system  進程的累計系統時間
curr_items  服務器當前存儲的items數量
total_items  從服務器啓動之後存儲的items總數量
bytes  當前服務器存儲items佔用的字節數
rusage_system  進程的累計系統時間
curr_items  服務器當前存儲的items數量
total_items  從服務器啓動之後存儲的items總數量
curr_connections 當前打開着的鏈接數
total_connections  從服務器啓動之後曾經打開過的鏈接數
connection_structures  服務器分配的鏈接 構造數
cmd_get  get命令(獲取)總請求次數
cmd_set  set 命令(保存)總請求次數
get_hits  總命中次數
get_misses  總未命中次數
evictions

爲獲取空閒內存而刪除的items數服務器

(分配給memcache的空間用滿後須要刪除舊的memcached

items來獲得空間分配給新的items)spa

bytes_read  總讀取字 節數(請求字節數)
bytes_written  總髮送字節數(結果字節數)
limit_maxbytes  分配給memcache的內存大小(字節)
threads 當前線程數
相關文章
相關標籤/搜索