Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Commit

Permalink
added toprequests script
Browse files Browse the repository at this point in the history
  • Loading branch information
gojko committed Dec 4, 2013
1 parent be59ddf commit 3f908a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions heroku_toprequests.sh
@@ -0,0 +1 @@
heroku logs -n 1500 --source heroku --remote production | gawk '//{match ($0, /path=([^[:space:]?]*).*service=([0-9]*)/, a); r[a[1]]++; s[a[1]]+=a[2]; } END { for (p in r) { print r[p] "\t" s[p] "\t" p; } } '| sort -nr | head -50

0 comments on commit 3f908a3

Please sign in to comment.