Command |
Description |
Example |
get |
Reads a value |
get mykey |
set |
Set a key unconditionally |
set mykey 0 60 5 |
add |
Add a new key |
add newkey 0 60 5 |
replace |
Overwrite existing key |
replace key 0 60 5 |
append |
Append data to existing key |
append key 0 60 15 |
prepend |
Prepend data to existing key |
prepend key 0 60 15 |
incr |
Increments numerical key value by given number |
incr mykey 2 |
decr |
Decrements numerical key value by given number |
decr mykey 5 |
delete |
Deletes an existing key |
delete mykey |
flush_all |
Invalidate specific items immediately |
flush_all |
Invalidate all items in n seconds |
flush_all 900 |
|
stats |
Prints general statistics |
stats |
Prints memory statistics |
stats slabs |
|
Prints memory statistics |
stats malloc |
|
Print higher level allocation statistics |
stats items |
|
stats detail |
||
stats sizes |
||
Resets statistics |
stats reset |
|
version |
Prints server version. |
version |
verbosity |
Increases log level |
verbosity |
quit |
Terminate telnet session |
quit |
相关文章
- 我的客户端无法运行imp与exp命令,提示出错,请各位进来看看,在线等待!!!
- RedHat下安装Telnet服务端及客户端远程连接配置
- 使用Axis2 wsdl2java命令生成webservice客户端
- 安装Cloudera Manager集群时首次运行命令部署客户端设置失败的解决办法(图文详解)
- Windows命令提示符中如果没有telnet命令,怎么办?
- 第一次使用github的客户端msysgit--msysgit的常用命令
- win8解决“telnet不是内部或外部命令”问题
- 支持 .NET Core 的 Memcached 客户端 EnyimMemcachedCore
- wsdl 生成 java 代码 java 使用CXF将wsdl文件生成客户端代码命令java调用第三方的webservice应用实例 推荐使用, 并且设置了 utf8
- 分布式缓存技术memcached学习(二)——memcached基础命令