github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jeremywohl / summarize

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Generate performance one-liners from Rails log input — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Shorten https urls, too. 
jeremywohl (author)
Wed Sep 03 18:31:33 -0700 2008
commit  fd6218aa67a7e784dc53aef9ae27791e1d795b56
tree    6125051ebf8e103302abecef06a415da858233f3
parent  469e106b9058b72874834ae194318dc91a26c76e
summarize /
name age
history
message
file .gitignore Loading commit data...
file README
file summarize
README
summarize
---------

Generate performance one-liners from Rails log input.  Reads output from :info or :debug log levels (the defaults).

Usage:

  # summarize < development.log
  # summarize /some/path/production.log
  # summarize --full_url /other/production.log

Output looks like:

  123.23.23.123 2006-05-05 10:59:42 | r 0.0--00  0% | db 0.00812 29% | 0.02726   36 r/s | 302 /some/uri
  123.23.23.123 2006-05-05 10:59:43 | r 0.02059 55% | db 0.01246 33% | 0.03697   27 r/s | 200 /some/uri
  123.23.23.123 2006-05-05 10:59:53 | r 0.00716 68% | db 0.00156 14% | 0.01048   95 r/s | 200 /some/uri
  123.23.23.123 2006-05-05 10:59:57 | r 0.00727 72% | db 0.00109 10% | 0.01005   99 r/s | 200 /some/uri

(with --full_url)
  123.23.23.123 2006-05-05 10:59:58 | r 0.0--00  0% | db 0.01137 27% | 0.04104   24 r/s | 302 https://a.b.com/some/uri
  123.23.23.123 2006-05-05 10:59:58 | r 0.0--00  0% | db 0.00064 24% | 0.00255  392 r/s | 302 https://a.b.com/some/uri
  123.23.23.123 2006-05-05 10:59:59 | r 0.08411 79% | db 0.01929 18% | 0.10589    9 r/s | 200 https://a.b.com/some/uri
  123.23.23.123 2006-05-05 11:00:01 | r 0.0--00  0% | db 0.00721 57% | 0.01250   79 r/s | 302 https://a.b.com/some/uri
  123.23.23.123 2006-05-05 11:00:01 | r 0.02212 56% | db 0.01381 35% | 0.03932   25 r/s | 200 https://a.b.com/some/uri
  123.23.23.123 2006-05-05 11:00:05 | r 0.00734 72% | db 0.00109 10% | 0.01011   98 r/s | 200 https://a.b.com/some/uri
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server