Skip to content

Instantly share code, notes, and snippets.

@gnubyexample
Created January 8, 2012 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnubyexample/1578935 to your computer and use it in GitHub Desktop.
Save gnubyexample/1578935 to your computer and use it in GitHub Desktop.
Apache2 - ip addresses that are heavy users
#!/bin/dash
tail -20000 access_log | cut -d' ' -f1 | sort | uniq -c | sort -g | tail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment