摘要: 监控HTTPD#!/bin/shwhile [ "1" == "1" ]; doAPACHE_LIST=`ps -ef | grep httpd | awk '{ print $2; }'`for i in $APACHE_LIST; doif [ ! -e $i.log ]; thenecho "strace $i"strace -p $i 2> $i.log &fidoneecho "wait"sleep 60sdone 阅读全文