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 |
相关文章
- 11-27telnet命令——连接服务器
- 11-27telnet命令找不到问题
- 11-27telnet 命令使用
- 11-27Memcached命令:简单获取缓存value用法
- 11-27移动端测试(adb命令)
- 11-27memcached客户端连接建立过程笔记
- 11-27rsync命令来实现将服务器端的文件备份到客户端
- 11-27JNPF低代码开发平台移动端项目命令行打包H5改造
- 11-27使用telnet命令检测端口是否正常报错“telnet: connect to address 192.168.88.132: Connection refused“
- 11-27ftp、sftp、vsftp、vsftpd、lftp以及一些网络客户端工具命令