Redis相关命令

1、连接

redis-cli

2、输入密码

auth  123456

3、查看连接数、内存等信息

info

4、查看连接详情

CLIENT LIST     (详解参考http://www.runoob.com/redis/server-client-list.html)

5、查看客户端占用的redis连接数

sudo netstat -antp | grep 6379 | wc -l    (参考http://bert82503.iteye.com/blog/2183498

 

posted @ 2018-04-17 15:58  阿狸哥哥  阅读(213)  评论(0)    收藏  举报