摘要:
两个思路: 一、定时执行监控脚本 采用centos自带的crontab根据需要定时执行status.sh脚本 #!/bin/bash status=$(ps -aux | grep "rsync --daemon" | grep -v "grep" | wc -l) if [ $status -eq 阅读全文
摘要:
两个思路: 一、定时执行监控脚本 采用centos自带的crontab根据需要定时执行status.sh脚本 #!/bin/bash status=$(ps -aux | grep "rsync --daemon" | grep -v "grep" | wc -l) if [ $status -eq 阅读全文
|