redis进程守护脚本
摘要:
#!/bin/bash redis_dir="/usr/local/redis" redis_conf="/usr/local/redis/redis.conf" time=`date` log="/tmp/redis.log" rediss=`ps -ef|grep -v vim |grep -v grep |grep redis-server|grep 6379|wc -l` if [ ... 阅读全文
posted @ 2017-05-18 17:12 vijayfly 阅读(457) 评论(0) 推荐(0) 编辑