慢慢赚钱博客

9月 20 2017

监控cassandra并重启的shell脚本

#!/bin/bash xxnumber=`ps -ef | grep cassandra | grep -v "grep"|wc -l` echo "process is runing " if [ ...