summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Yen <steve.yen@gmail.com>2009-01-26 22:54:12 -0800
committerSteve Yen <steve.yen@gmail.com>2009-03-02 08:48:26 -0800
commit8dc3a6e60b10021ee391ff439a768e768664a8b2 (patch)
treeac5383c32a83b32de36ef86123e878b281631230
parent6e53db56fb852ab6a53c68b2c8b3408baf95cf30 (diff)
downloadmemcached-8dc3a6e60b10021ee391ff439a768e768664a8b2.tar.gz
more usage info in memcached-tool
Added 'dump' command info and more info about the 'move' command and slabs reassign to the memcached-tool usage string.
-rwxr-xr-xscripts/memcached-tool4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/memcached-tool b/scripts/memcached-tool
index f779e88..7a40fd4 100755
--- a/scripts/memcached-tool
+++ b/scripts/memcached-tool
@@ -41,10 +41,12 @@ die
memcached-tool 10.0.0.5:11211 display # shows slabs
memcached-tool 10.0.0.5:11211 # same. (default is display)
memcached-tool 10.0.0.5:11211 stats # shows general stats
+ memcached-tool 10.0.0.5:11211 dump # dumps keys and values
memcached-tool 10.0.0.5:11211 move 7 9 # takes 1MB slab from class #7
# to class #9.
-You can only move slabs around once memory is totally allocated, and only
+You can only move slabs around on a server that supports 'slabs reassign'
+messages and only once slab memory is totally allocated, and only
once the target class is full. (So you can't move from #6 to #9 and #7
to #9 at the same itme, since you'd have to wait for #9 to fill from
the first reassigned page)