find top 10ip access apache code example
Example: find top 10ip access apache
# awk '{ print $1}' access.log.2016-05-08 | sort | uniq -c | sort -nr | head -n 10
# awk '{ print $1}' access.log.2016-05-08 | sort | uniq -c | sort -nr | head -n 10