‘stats’ command is used
to get the server statistics.
$ telnet 127.0.0.1 11211 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. stats STAT pid 873 STAT uptime 46855 STAT time 1468166845 STAT version 1.4.24 STAT libevent 2.0.22-stable STAT pointer_size 64 STAT rusage_user 0.304981 STAT rusage_system 0.488628 STAT curr_connections 10 STAT total_connections 52 STAT connection_structures 12 STAT reserved_fds 20 STAT cmd_get 70 STAT cmd_set 68 STAT cmd_flush 0 STAT cmd_touch 0 STAT get_hits 66 STAT get_misses 4 STAT delete_misses 1 STAT delete_hits 2 STAT incr_misses 0 STAT incr_hits 2 STAT decr_misses 0 STAT decr_hits 3 STAT cas_misses 0 STAT cas_hits 3 STAT cas_badval 1 STAT touch_hits 0 STAT touch_misses 0 STAT auth_cmds 0 STAT auth_errors 0 STAT bytes_read 4732 STAT bytes_written 6925 STAT limit_maxbytes 67108864 STAT accepting_conns 1 STAT listen_disabled_num 0 STAT threads 4 STAT conn_yields 0 STAT hash_power_level 16 STAT hash_bytes 524288 STAT hash_is_expanding 0 STAT malloc_fails 0 STAT bytes 77 STAT curr_items 1 STAT total_items 53 STAT expired_unfetched 3 STAT evicted_unfetched 0 STAT evictions 0 STAT reclaimed 21 STAT crawler_reclaimed 0 STAT crawler_items_checked 0 STAT lrutail_reflocked 0 END
No comments:
Post a Comment