#!/bin/bash
LANG=zh_CN
D=`date +"%d/%b/%Y"`
H=`grep $D /var/apache/logs/aclearcase/" target="_blank" >ccess_log |wc -l`
grep $D /var/apache/logs/access_log |awk '{print }'|sort -g -t"." -k 4 -u -o /tmp/$$
cat /tmp/$$
N=`cat /tmp/$$|wc -l`
echo Total IP today: $N
echo Total Hits today: $H
rm /tmp/$$
only to count apache log about ip~