This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
apache_checker [2009/05/08 12:17] kyxap создано |
apache_checker [2013/12/15 13:36] kyxap Page moved from stuff:apache_checker to apache_checker |
||
---|---|---|---|
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" |