标签:blank get ash ref grep gre res nbsp check
说明:自定义监控脚本,监控内存是否启用主进程
创建文件:vim check_http.sh
#!/bin/bash result=`ps -ef | grep httpd | grep -v grep` if [ -n "$result" ] then echo ‘0‘ else echo ‘1‘ fi
添加到自定义key:http://www.cnblogs.com/xiangsikai/p/9059874.html
标签:blank get ash ref grep gre res nbsp check
原文地址:https://www.cnblogs.com/xiangsikai/p/9060216.html