Category: Linux

NGinx

tail -100000 /var/log/nginx/access.log | awk '{print $1}' | sort -nk1 | uniq -c | sort -nk1

Apache

tail -100000 /var/log/httpd/access.log | awk '{print $1}' | sort -nk1 | uniq -c | sort -nk1

 

Tags:

Linux

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.