stats指令
得到的資料的意義如下:
pid:32u,伺服器程序ID。
uptime:32u, 伺服器運作時間,機關秒。
time :32u, 伺服器目前的UNIX時間。
version :string, 伺服器的版本号。
curr_items :32u, 伺服器目前存儲的内容數量 Current number of items stored by the server
total_items :32u, 伺服器啟動以來存儲過的内容總數。
bytes :64u, 伺服器目前存儲内容所占用的位元組數。
curr_connections :32u, 連接配接數量。
total_connections :32u, 伺服器運作以來接受的連接配接總數。
connection_structures:32u, 伺服器配置設定的連接配接結構的數量。
cmd_get :32u, 取回請求總數。
cmd_set :32u, 存儲請求總數。
get_hits :32u, 請求成功的總次數。
get_misses :32u, 請求失敗的總次數。
bytes_read :64u, 伺服器從網絡讀取到的總位元組數。
bytes_written :64u, 伺服器向網絡發送的總位元組數。
limit_maxbytes :32u, 伺服器在存儲時被允許使用的位元組總數。
上面的描述中32u和64u表示32位和64位無符号整數,string表示是string類型資料。