root@ubuntu:/usr/local/redis# ./redis-cli
redis> keys *
mail
redis> keys *
mail mail_key_2893494721275622561281
redis> smembers mail_key_2893494721275622561281
1. To:one@mail.com
2. Content:some test
3. Cc:two@ mail .com
4. Subject:邮件标题测试;你好;test
5. Content-Type:text/html; charset="utf-8"
6. Bcc:three@mail.com
7. From:mailfrom@mail.com++
redis> flushdb
OK
redis> keys *
redis>
|
指令 |
说明 |
redis-cli |
redis的client
|
keys * |
key list |
smembers mail_key_2893494721275622561281 |
看key对应的value数据 |
flushdb |
清空redis的所有数据 |
[root@S3APP0114 action]# telnet 10.29.15.9 6379
Trying 10.29.15.9...
Connected to 10.29.15.9 (10.29.15.9).
Escape character is '^]'.
select 1
+OK
LLEN videoEncodeList_hostname_encode11
:660
阅读(835) | 评论(0) | 转发(0) |