摘要:
两个思路: 一、定时执行监控脚本 采用centos自带的crontab根据需要定时执行status.sh脚本 #!/bin/bash status=$(ps -aux | grep "rsync --daemon" | grep -v "grep" | wc -l) if [ $status -eq 阅读全文
posted @ 2019-10-08 11:06
寒江——独钓
阅读(498)
评论(0)
推荐(0)
|
摘要:
两个思路: 一、定时执行监控脚本 采用centos自带的crontab根据需要定时执行status.sh脚本 #!/bin/bash status=$(ps -aux | grep "rsync --daemon" | grep -v "grep" | wc -l) if [ $status -eq 阅读全文
posted @ 2019-10-08 11:06
寒江——独钓
阅读(498)
评论(0)
推荐(0)
|