This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
apache_checker [2009/05/08 12:17] kyxap создано |
apache_checker [2009/05/08 12:29] kyxap |
||
---|---|---|---|
Line 14: | Line 14: | ||
APACHECTL=/usr/sbin/apache2ctl | APACHECTL=/usr/sbin/apache2ctl | ||
SCRIPT_DIR=/opt/scripts/apache | SCRIPT_DIR=/opt/scripts/apache | ||
- | RUNNING_PROCESSES=`ps auxww | grep bin/apache | grep -v grep | wc -l`; | + | RUNNING_PROCESSES=`ps auxww | grep -c bin/apache`; |
APACHEUSER="www-data" | APACHEUSER="www-data" | ||
MinSpareServers="24" | MinSpareServers="24" |