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:
LinuxHow useful was this post?
Click on a star to rate it!
No votes so far! Be the first to rate this post.
Leave a Reply