2009-02-18 44 views

回答

0

如果你想建立自己的小工具,你應該看看RRDtool

7

內存緩存報告了一些統計數據,諸如存儲器使用,存儲的對象,命中和未命中的。用一個標準的TCP套接字連接到服務器(可能是localhost:11211)並寫下「stats \ n」以獲取統計信息列表。見下面的例子。

Cacti爲實際繪圖數據。我已經取得了巨大的成功。

 
> $ telnet localhost 11211 
Trying ::1... 
Trying 127.0.0.1... 
Connected to localhost. 
Escape character is '^]'. 
stats 
STAT pid 75723 
STAT uptime 4166691 
STAT time 1236609062 
STAT version 1.2.4 
STAT pointer_size 32 
STAT rusage_user 115.028511 
STAT rusage_system 326.163351 
STAT curr_items 83335 
STAT total_items 1822140 
STAT bytes 239997834 
STAT curr_connections 48 
STAT total_connections 7840 
STAT connection_structures 83 
STAT cmd_get 4273541 
STAT cmd_set 1822140 
STAT get_hits 2442609 
STAT get_misses 1830932 
STAT evictions 1696494 
STAT bytes_read 5162992092 
STAT bytes_written 7000049654 
STAT limit_maxbytes 268435456 
STAT threads 1 
END 
相關問題