Skip to content

Instantly share code, notes, and snippets.

@danhyun
Created January 25, 2013 22:37
Show Gist options
  • Save danhyun/4638559 to your computer and use it in GitHub Desktop.
Save danhyun/4638559 to your computer and use it in GitHub Desktop.
get hourly breakdown of requests to apache
grep "25/Jan" access_log | cut -d[ -f2 | cut -d] -f1 | awk -F: '{print $2":00"}' | sort -n | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment