awk

2

tail -10000 /var/log/httpd/access_log | awk '{print $1}' | sort | uniq -c | sort -nr | tail -n30

Show the top 30 httpd users' IP addresses.

redaudit's picture
Submitted by redaudit 1 year 5 weeks ago – Made popular 1 year 5 weeks ago
Category: Linux   Tags:
Page generated in: 0.000869 seconds.