resin与nginx/apache服务重启

关闭Apache
sudo /usr/local/apache/bin/apachectl stop
关闭resin
sudo /opt/kona/resin/bin/httpd.sh stop
开启resin 
sudo /opt/kona/resin/bin/httpd.sh start
 开启Apache
sudo /usr/local/apache/bin/apachectl start
 统计Apache 独立IP 数
cat access_log.2014-10-12 |awk '{print $1}'|uniq -c|wc -l
cat access_log.2014-10-12|awk '{print $1}'|uniq -c|wc -l > ip.txt
awk ‘{print $1}’ access_log.2014-10-12|uniq -c|wc -l
  nginx 重启
/usr/local/nginx/sbin/nginx  -s stop
/usr/local/nginx/sbin/nginx
 

你可能感兴趣的:(apache)