To check the Traffic of the site use the below command :
grep "10/Apr/2015" /usr/local/apache/domlogs/cpanelusername/domainname
You can change the Date as per your check
To check the Bot access (Google,bing,Baidu,etc,..) Use the below command :
grep "10/Apr/2015" /usr/local/apache/domlogs/cpanelusername/domainname |grep -i bot
To check Maximum Visited IP's for the Domain :
grep "10/Apr/2015" /usr/local/apache/domlogs/cpanelusername/domainname |awk '{print $1}'|sort|uniq -c|sort -n|tail -30
It will show the Last 30 Maximum Visited IP's of the Domain from the Domlogs
0 comments:
Post a Comment