Memcache stats命令
telnet 127.0.0.1 11211之后,可以用的命令有:
(1)stats
(2)
stats items
Returns some information, broken down by slab, about items stored in memcached.
(3)
stats slabs
Returns more information, broken down by slab, about items stored in memcached. More centered to performance of a slab rather than counts of particular items.
(4)
stats sizes
A special command that shows you how items would be distributed if slabs were broken into 32byte buckets instead of your current number of slabs. Useful for determining how efficient your slab sizing is.
WARNING this is a development command. As of 1.4 it is still the only command which will lock your memcached instance for some time. If you have many millions of stored items, it can become unresponsive for several minutes. Run this at your own risk. It is roadmapped to either make this feature optional or at least speed it up.
(5)
flush_all
Invalidate all existing cache items. Optionally takes a parameter, which means to invalidate all items after N seconds have passed.
This command does not pause the server, as it returns immediately. It does not free up or flush memory at all, it just causes all items to expire.
在幸福来临之时,你要做好有个悲痛的结局 从长远来看,没有人会失恋。我们只不过是在走向最后的恋情途中 亲爱的:想你的心要怎么让你知道。 花开的风雨过后,阳光依旧 ◆◇ヽ 怜香惜玉';你怜哪的香,?惜哪的玉,!? 讓未來到來,讓過去過去
页:
[1]