Skip to content

Instantly share code, notes, and snippets.

@farshidce
Created August 27, 2017 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save farshidce/2092ab52af08fb018a8f052b94470c90 to your computer and use it in GitHub Desktop.
Save farshidce/2092ab52af08fb018a8f052b94470c90 to your computer and use it in GitHub Desktop.
stas from 1.5.0 with cmd_get
root@cid1010:~# telnet localhost 11241
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
stats
STAT pid 24938
STAT uptime 183988
STAT time 1503856320
STAT version 1.5.0
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 82827.192000
STAT rusage_system 62300.852000
STAT curr_connections 421
STAT total_connections 384365
STAT rejected_connections 0
STAT connection_structures 424
STAT reserved_fds 20
STAT cmd_get 24073515273
STAT cmd_set 2172293417
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 6462088610
STAT get_misses 17611426663
STAT get_expired 0
STAT get_flushed 0
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 1015025786715
STAT bytes_written 948201236916
STAT limit_maxbytes 377487360000
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT time_in_listen_disabled_us 0
STAT threads 4
STAT conn_yields 332950046
STAT hash_power_level 30
STAT hash_bytes 8589934592
STAT hash_is_expanding 0
STAT slab_reassign_rescues 0
STAT slab_reassign_chunk_rescues 0
STAT slab_reassign_evictions_nomem 0
STAT slab_reassign_inline_reclaim 0
STAT slab_reassign_busy_items 0
STAT slab_reassign_busy_deletes 0
STAT slab_reassign_running 0
STAT slabs_moved 0
STAT lru_crawler_running 0
STAT lru_crawler_starts 20650
STAT lru_maintainer_juggles 616181095
STAT malloc_fails 0
STAT log_worker_dropped 0
STAT log_worker_written 0
STAT log_watcher_skipped 0
STAT log_watcher_sent 0
STAT bytes 80019481689
STAT curr_items 844256777
STAT total_items 2172293417
STAT slab_global_page_pool 0
STAT expired_unfetched 0
STAT evicted_unfetched 0
STAT evicted_active 0
STAT evictions 0
STAT reclaimed 0
STAT crawler_reclaimed 0
STAT crawler_items_checked 25033551634
STAT lrutail_reflocked 82
STAT moves_to_cold 1062936109
STAT moves_to_warm 494882306
STAT moves_within_lru 245575599
STAT direct_reclaims 0
STAT lru_bumps_dropped 0
END
stasERROR
stats items
ERROR
stats items
STAT items:1:number 732201637
STAT items:1:number_hot 146440679
STAT items:1:number_warm 119081648
STAT items:1:number_cold 466679310
STAT items:1:age_hot 32503
STAT items:1:age_warm 46572
STAT items:1:age 184016
STAT items:1:evicted 0
STAT items:1:evicted_nonzero 0
STAT items:1:evicted_time 0
STAT items:1:outofmemory 0
STAT items:1:tailrepairs 0
STAT items:1:reclaimed 0
STAT items:1:expired_unfetched 0
STAT items:1:evicted_unfetched 0
STAT items:1:evicted_active 0
STAT items:1:crawler_reclaimed 0
STAT items:1:crawler_items_checked 21839818294
STAT items:1:lrutail_reflocked 0
STAT items:1:moves_to_cold 673436864
STAT items:1:moves_to_warm 181019135
STAT items:1:moves_within_lru 76
STAT items:1:direct_reclaims 0
STAT items:1:hits_to_hot 941192989
STAT items:1:hits_to_warm 986736949
STAT items:1:hits_to_cold 202959860
STAT items:1:hits_to_temp 0
STAT items:2:number 81903361
STAT items:2:number_hot 16222126
STAT items:2:number_warm 28466883
STAT items:2:number_cold 37214352
STAT items:2:age_hot 14640
STAT items:2:age_warm 4451
STAT items:2:age 183728
STAT items:2:evicted 0
STAT items:2:evicted_nonzero 0
STAT items:2:evicted_time 0
STAT items:2:outofmemory 0
STAT items:2:tailrepairs 0
STAT items:2:reclaimed 0
STAT items:2:expired_unfetched 0
STAT items:2:evicted_unfetched 0
STAT items:2:evicted_active 0
STAT items:2:crawler_reclaimed 0
STAT items:2:crawler_items_checked 2361870452
STAT items:2:lrutail_reflocked 1
STAT items:2:moves_to_cold 122494467
STAT items:2:moves_to_warm 74888548
STAT items:2:moves_within_lru 388
STAT items:2:direct_reclaims 0
STAT items:2:hits_to_hot 394351306
STAT items:2:hits_to_warm 687389087
STAT items:2:hits_to_cold 74676916
STAT items:2:hits_to_temp 0
STAT items:3:number 14884135
STAT items:3:number_hot 2961168
STAT items:3:number_warm 5888315
STAT items:3:number_cold 6034652
STAT items:3:age_hot 6631
STAT items:3:age_warm 12430
STAT items:3:age 183004
STAT items:3:evicted 0
STAT items:3:evicted_nonzero 0
STAT items:3:evicted_time 0
STAT items:3:outofmemory 0
STAT items:3:tailrepairs 0
STAT items:3:reclaimed 0
STAT items:3:expired_unfetched 0
STAT items:3:evicted_unfetched 0
STAT items:3:evicted_active 0
STAT items:3:crawler_reclaimed 0
STAT items:3:crawler_items_checked 421897760
STAT items:3:lrutail_reflocked 4
STAT items:3:moves_to_cold 48588035
STAT items:3:moves_to_warm 34271585
STAT items:3:moves_within_lru 22049351
STAT items:3:direct_reclaims 0
STAT items:3:hits_to_hot 162893453
STAT items:3:hits_to_warm 356027051
STAT items:3:hits_to_cold 31634666
STAT items:3:hits_to_temp 0
STAT items:4:number 6666690
STAT items:4:number_hot 1325249
STAT items:4:number_warm 2655548
STAT items:4:number_cold 2685893
STAT items:4:age_hot 3876
STAT items:4:age_warm 5542
STAT items:4:age 177870
STAT items:4:evicted 0
STAT items:4:evicted_nonzero 0
STAT items:4:evicted_time 0
STAT items:4:outofmemory 0
STAT items:4:tailrepairs 0
STAT items:4:reclaimed 0
STAT items:4:expired_unfetched 0
STAT items:4:evicted_unfetched 0
STAT items:4:evicted_active 0
STAT items:4:crawler_reclaimed 0
STAT items:4:crawler_items_checked 183303688
STAT items:4:lrutail_reflocked 3
STAT items:4:moves_to_cold 40247037
STAT items:4:moves_to_warm 32979453
STAT items:4:moves_within_lru 38288937
STAT items:4:direct_reclaims 0
STAT items:4:hits_to_hot 122489160
STAT items:4:hits_to_warm 279694951
STAT items:4:hits_to_cold 29197384
STAT items:4:hits_to_temp 0
STAT items:5:number 3485865
STAT items:5:number_hot 692074
STAT items:5:number_warm 1391039
STAT items:5:number_cold 1402752
STAT items:5:age_hot 2272
STAT items:5:age_warm 4696
STAT items:5:age 171113
STAT items:5:evicted 0
STAT items:5:evicted_nonzero 0
STAT items:5:evicted_time 0
STAT items:5:outofmemory 0
STAT items:5:tailrepairs 0
STAT items:5:reclaimed 0
STAT items:5:expired_unfetched 0
STAT items:5:evicted_unfetched 0
STAT items:5:evicted_active 0
STAT items:5:crawler_reclaimed 0
STAT items:5:crawler_items_checked 91982450
STAT items:5:lrutail_reflocked 6
STAT items:5:moves_to_cold 32173719
STAT items:5:moves_to_warm 25747505
STAT items:5:moves_within_lru 30604820
STAT items:5:direct_reclaims 0
STAT items:5:hits_to_hot 90368799
STAT items:5:hits_to_warm 212614706
STAT items:5:hits_to_cold 22679788
STAT items:5:hits_to_temp 0
STAT items:6:number 2812243
STAT items:6:number_hot 553161
STAT items:6:number_warm 1131320
STAT items:6:number_cold 1127762
STAT items:6:age_hot 1243
STAT items:6:age_warm 3167
STAT items:6:age 168001
STAT items:6:evicted 0
STAT items:6:evicted_nonzero 0
STAT items:6:evicted_time 0
STAT items:6:outofmemory 0
STAT items:6:tailrepairs 0
STAT items:6:reclaimed 0
STAT items:6:expired_unfetched 0
STAT items:6:evicted_unfetched 0
STAT items:6:evicted_active 0
STAT items:6:crawler_reclaimed 0
STAT items:6:crawler_items_checked 70370443
STAT items:6:lrutail_reflocked 7
STAT items:6:moves_to_cold 36087591
STAT items:6:moves_to_warm 28365062
STAT items:6:moves_within_lru 27205020
STAT items:6:direct_reclaims 0
STAT items:6:hits_to_hot 194574156
STAT items:6:hits_to_warm 258000199
STAT items:6:hits_to_cold 24732275
STAT items:6:hits_to_temp 0
STAT items:7:number 2408965
STAT items:7:number_hot 483422
STAT items:7:number_warm 952670
STAT items:7:number_cold 972873
STAT items:7:age_hot 696
STAT items:7:age_warm 1136
STAT items:7:age 154997
STAT items:7:evicted 0
STAT items:7:evicted_nonzero 0
STAT items:7:evicted_time 0
STAT items:7:outofmemory 0
STAT items:7:tailrepairs 0
STAT items:7:reclaimed 0
STAT items:7:expired_unfetched 0
STAT items:7:evicted_unfetched 0
STAT items:7:evicted_active 0
STAT items:7:crawler_reclaimed 0
STAT items:7:crawler_items_checked 64308547
STAT items:7:lrutail_reflocked 61
STAT items:7:moves_to_cold 110083619
STAT items:7:moves_to_warm 117714835
STAT items:7:moves_within_lru 127494597
STAT items:7:direct_reclaims 0
STAT items:7:hits_to_hot 608946867
STAT items:7:hits_to_warm 686190416
STAT items:7:hits_to_cold 96111767
STAT items:7:hits_to_temp 0
END
stats slabs
STAT 1:chunk_size 96
STAT 1:chunks_per_page 10922
STAT 1:total_pages 67040
STAT 1:total_chunks 732210880
STAT 1:used_chunks 732208960
STAT 1:free_chunks 1920
STAT 1:free_chunks_end 0
STAT 1:mem_requested 65902885080
STAT 1:get_hits 2130921937
STAT 1:cmd_set 1258827420
STAT 1:delete_hits 0
STAT 1:incr_hits 0
STAT 1:decr_hits 0
STAT 1:cas_hits 0
STAT 1:cas_badval 0
STAT 1:touch_hits 0
STAT 2:chunk_size 120
STAT 2:chunks_per_page 8738
STAT 2:total_pages 9374
STAT 2:total_chunks 81910012
STAT 2:used_chunks 81904341
STAT 2:free_chunks 5671
STAT 2:free_chunks_end 0
STAT 2:mem_requested 8683700226
STAT 2:get_hits 1156436412
STAT 2:cmd_set 291794098
STAT 2:delete_hits 0
STAT 2:incr_hits 0
STAT 2:decr_hits 0
STAT 2:cas_hits 0
STAT 2:cas_badval 0
STAT 2:touch_hits 0
STAT 3:chunk_size 152
STAT 3:chunks_per_page 6898
STAT 3:total_pages 2158
STAT 3:total_chunks 14885884
STAT 3:used_chunks 14884301
STAT 3:free_chunks 1583
STAT 3:free_chunks_end 0
STAT 3:mem_requested 2009368071
STAT 3:get_hits 550564429
STAT 3:cmd_set 110541636
STAT 3:delete_hits 0
STAT 3:incr_hits 0
STAT 3:decr_hits 0
STAT 3:cas_hits 0
STAT 3:cas_badval 0
STAT 3:touch_hits 0
STAT 4:chunk_size 192
STAT 4:chunks_per_page 5461
STAT 4:total_pages 1221
STAT 4:total_chunks 6667881
STAT 4:used_chunks 6666727
STAT 4:free_chunks 1154
STAT 4:free_chunks_end 0
STAT 4:mem_requested 1133009736
STAT 4:get_hits 431388578
STAT 4:cmd_set 76503504
STAT 4:delete_hits 0
STAT 4:incr_hits 0
STAT 4:decr_hits 0
STAT 4:cas_hits 0
STAT 4:cas_badval 0
STAT 4:touch_hits 0
STAT 5:chunk_size 240
STAT 5:chunks_per_page 4369
STAT 5:total_pages 798
STAT 5:total_chunks 3486462
STAT 5:used_chunks 3485955
STAT 5:free_chunks 507
STAT 5:free_chunks_end 0
STAT 5:mem_requested 744914841
STAT 5:get_hits 325668674
STAT 5:cmd_set 59936994
STAT 5:delete_hits 0
STAT 5:incr_hits 0
STAT 5:decr_hits 0
STAT 5:cas_hits 0
STAT 5:cas_badval 0
STAT 5:touch_hits 0
STAT 6:chunk_size 304
STAT 6:chunks_per_page 3449
STAT 6:total_pages 816
STAT 6:total_chunks 2814384
STAT 6:used_chunks 2812336
STAT 6:free_chunks 2048
STAT 6:free_chunks_end 0
STAT 6:mem_requested 768138875
STAT 6:get_hits 477315747
STAT 6:cmd_set 83055866
STAT 6:delete_hits 0
STAT 6:incr_hits 0
STAT 6:decr_hits 0
STAT 6:cas_hits 0
STAT 6:cas_badval 0
STAT 6:touch_hits 0
STAT 7:chunk_size 384
STAT 7:chunks_per_page 2730
STAT 7:total_pages 883
STAT 7:total_chunks 2410590
STAT 7:used_chunks 2408958
STAT 7:free_chunks 1632
STAT 7:free_chunks_end 0
STAT 7:mem_requested 788532452
STAT 7:get_hits 1391276196
STAT 7:cmd_set 292013512
STAT 7:delete_hits 0
STAT 7:incr_hits 0
STAT 7:decr_hits 0
STAT 7:cas_hits 0
STAT 7:cas_badval 0
STAT 7:touch_hits 0
STAT active_slabs 7
STAT total_malloced 86287319040
END
stats settings
STAT maxbytes 377487360000
STAT maxconns 8192
STAT tcpport 11241
STAT udpport 11241
STAT inter 0.0.0.0
STAT verbosity 0
STAT oldest 0
STAT evictions on
STAT domain_socket NULL
STAT umask 700
STAT growth_factor 1.25
STAT chunk_size 48
STAT num_threads 4
STAT num_threads_per_udp 4
STAT stat_key_prefix :
STAT detail_enabled no
STAT reqs_per_event 20
STAT cas_enabled yes
STAT tcp_backlog 1024
STAT binding_protocol auto-negotiate
STAT auth_enabled_sasl no
STAT item_size_max 1048576
STAT maxconns_fast yes
STAT hashpower_init 0
STAT slab_reassign yes
STAT slab_automove 1
STAT slab_automove_ratio 0.80
STAT slab_automove_window 0.80
STAT slab_chunk_max 524288
STAT lru_crawler yes
STAT lru_crawler_sleep 100
STAT lru_crawler_tocrawl 0
STAT tail_repair_time 0
STAT flush_enabled yes
STAT dump_enabled yes
STAT hash_algorithm murmur3
STAT lru_maintainer_thread yes
STAT lru_segmented yes
STAT hot_lru_pct 20
STAT warm_lru_pct 40
STAT hot_max_factor 0.20
STAT warm_max_factor 2.00
STAT temp_lru no
STAT temporary_ttl 61
STAT idle_timeout 0
STAT watcher_logbuf_size 262144
STAT worker_logbuf_size 65536
STAT track_sizes no
STAT inline_ascii_response no
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment