Skip to content

Instantly share code, notes, and snippets.

@haad
Created April 20, 2012 10:43
Show Gist options
  • Select an option

  • Save haad/2427733 to your computer and use it in GitHub Desktop.

Select an option

Save haad/2427733 to your computer and use it in GitHub Desktop.
mogilefs + memcached
# mogadm settings list
memcache_servers = 127.0.0.1:11211
# memcached-tool localhost:11211 stats
#localhost:11211 Field Value
accepting_conns 1
auth_cmds 0
auth_errors 0
bytes 0
bytes_read 303
bytes_written 8941
cas_badval 0
cas_hits 0
cas_misses 0
cmd_flush 0
cmd_get 6
cmd_set 0
conn_yields 0
connection_structures 13
curr_connections 10
curr_items 0
decr_hits 0
decr_misses 0
delete_hits 0
delete_misses 0
evictions 0
get_hits 0
get_misses 6
incr_hits 0
incr_misses 0
limit_maxbytes 134217728
listen_disabled_num 0
pid 25156
pointer_size 64
reclaimed 0
rusage_system 0.041993
rusage_user 0.034994
threads 4
time 1334918457
total_connections 27
total_items 0
uptime 1132
version 1.4.5
# mogfetch --tracker 192.168.206.3:6001 --domain test --key '/test.html' --file '-' > /dev/null
# memcached-tool localhost:11211 stats
#localhost:11211 Field Value
accepting_conns 1
auth_cmds 0
auth_errors 0
bytes 0
bytes_read 317
bytes_written 10529
cas_badval 0
cas_hits 0
cas_misses 0
cmd_flush 0
cmd_get 6
cmd_set 0
conn_yields 0
connection_structures 13
curr_connections 10
curr_items 0
decr_hits 0
decr_misses 0
delete_hits 0
delete_misses 0
evictions 0
get_hits 0
get_misses 6
incr_hits 0
incr_misses 0
limit_maxbytes 134217728
listen_disabled_num 0
pid 25156
pointer_size 64
reclaimed 0
rusage_system 0.045993
rusage_user 0.037994
threads 4
time 1334918610
total_connections 29
total_items 0
uptime 1285
version 1.4.5
[root@storage2 ~]# memcached-tool localhost:11211 dump
Dumping memcache contents
Number of buckets: 0
Number of items :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment