Find out which IP hits your server the most

terminalFind out which IP hits your server the most with the bash command below:

cat /var/log/apache2/access.log | cut -f2 -d ‘ ‘|sort|uniq -c|sort -nr|more

Share

Leave a Reply

Your email address will not be published.