Skip to content

Instantly share code, notes, and snippets.

@CajuCLC
Created February 28, 2019 15:35
Show Gist options
  • Select an option

  • Save CajuCLC/56f679ca4bff64c7e11b6ea763a920dc to your computer and use it in GitHub Desktop.

Select an option

Save CajuCLC/56f679ca4bff64c7e11b6ea763a920dc to your computer and use it in GitHub Desktop.
Check top IPs apache access log
awk '{ print $1}' /var/log/httpd/access.log | sort | uniq -c | sort -nr | head -n 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment