本文共 727 字,大约阅读时间需要 2 分钟。
Redis服务的监控程序很多,之前写了一个RedisLive.但是免费的且一直没有维护的就容易产生问题.(主要是版本兼容性,因为长时间没人更新么)
除了CUP的使用,内存的使用.连接的数量,其实我还想知道哪些是长时间保存在redis里的.
这里使用Centos7的环境来搭建,同时需要python的支持.centos7默认自带python,所以不需要安装python了.搭建过程中会提示一些版本问题,可以忽略.不影响最后的使用(这个比较坑啊,代码很久都没更新了.版本兼容不好.建议还是用命令来查看服务情况吧.如果有更好的开源可视化redis监控也请告知~~~cuiyaonan2000@163.com)
[root@localhost cuiyaonan2000]# yum install -y iptables-services[root@localhost cuiyaonan2000]# wget https://bootstrap.pypa.io/get-pip.py[root@localhost cuiyaonan2000]# python get-pip.py[root@localhost cuiyaonan2000]# pip –V#首先安装python库[root@localhost cuiyaonan2000]# pip install redis-monitor#初始化配置和数据库[root@localhost cuiyaonan2000]# redis-monitor init#启动 webserver[root@localhost cuiyaonan2000]# redis-monitor start
转载地址:http://qycmf.baihongyu.com/