Use command line to query all keys of memcache under Linux

Source: Internet
Author: User

1.telnet 10.10.24.106 11211
2.stats Items
STAT Items:23:number 2
STAT Items:23:age 934861
STAT items:23:evicted 0
STAT Items:23:evicted_nonzero 0
STAT Items:23:evicted_time 0
STAT Items:23:outofmemory 0
STAT Items:23:tailrepairs 0
STAT items:23:reclaimed 3
3.stats cachedump 23 0
ITEM BF782DE73A795157B193A285DD5C8FA4 [12326 b; 1412948599 S]
ITEM 59f550414a73c09135f476c787a90ba9 [13074 b; 1412948600 S]
4.get BF782DE73A795157B193A285DD5C8FA4
VALUE BF782DE73A795157B193A285DD5C8FA4 0 12326
A:2:{i:0;a:34:{s:2: "BJ ...
In addition: Memcache (PHP module) version 1.4.5 There is no way to use the Getextendedstats method (can be used, but the return data is not expected)

Use command line to query all keys of memcache under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.