首页 > 其他 > 详细

redis 登入,检查

时间:2018-06-12 12:38:59      阅读:189      评论:0      收藏:0      [点我收藏+]

1.    redis-cli -c -h [ip]  -p [port] 集群登录 

auth [password]
info 查看redis信息
redis-cli -p [port] -c -h [ip] -a [password]   连同密码登入
2 redis-trib.rb check 172.31.103.211:6379 检查集群节点状
3、检查 redis 启动情况
ps -ef | grep redis
netstat -tnlp | grep redis
4.启动redis: #redis-server /service/redis-3.2.1/config/6379.conf
#redis-server /service/redis-3.2.1/config/6389.conf
停止redis:kill -9 [pid]
5.
查看多少绑定关系 keys bind-* keys "bind-*"
6.dse 是否未连上redis,查看
tail -100f stdout.log.2017-12-01 |grep ‘Exception in thread‘
tail -100f stdout.log.2017-12-01 |grep -i thread
tail -100f stdout.log.2017-12-01 |grep ‘Exception in thread‘
 

redis 登入,检查

原文:https://www.cnblogs.com/snowwhitecityofsky/p/9172416.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!