zoukankan      html  css  js  c++  java
  • memcached 查看所有的key

    1. cmd上登录memcache

    2. 列出所有keys

    3. 通过itemid获取key

    接下来基于列出的items id,本例中为7,第2个参数为列出的长度,0为全部列出

    4. 通过get获取key值

    上面的stats cachedump命令列出了我的session key,接下来就用get命令查找对应的session值

  • 相关阅读:
    python之元组
    python之dict
    python之list
    python之str字符串
    python之for循环
    Python的基本语法2
    Python的基本语法1
    初识python
    JS获取当天是周几
    EXCLE导入数据库
  • 原文地址:https://www.cnblogs.com/lin1/p/6292084.html
Copyright © 2011-2022 走看看