$ telnet localhost 11211
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
statでいろいろな情報を表示(よくわからない・・・。)
$ stat
STAT pid 7692
STAT uptime 19177
STAT time 1297328806
STAT version 1.2.6
STAT pointer_size 32
STAT rusage_user 0.017997
STAT rusage_system 0.058991
STAT curr_items 83
STAT total_items 163
STAT bytes 21606
STAT curr_connections 5
STAT total_connections 500
STAT connection_structures 9
STAT cmd_get 406
STAT cmd_set 163
STAT get_hits 234
STAT get_misses 172
STAT evictions 0
STAT bytes_read 46646
STAT bytes_written 23103
STAT limit_maxbytes 67108864
STAT threads 4
END
コマンド形式は
取得は
# get hoge
VALUE hoge 0 3
var
設定は
# set hoge 0 5 3
# var
STORED
ちなみに、こっちでも表示することが可能
$ memcached-tool localhost dump
0 件のコメント:
コメントを投稿