whatcould / rawk Goto Github PK
View Code? Open in Web Editor NEWThis project forked from yoon/rawk
Fork of Ruby on Rails Log Analyzer - RAWK (by Chris Hobbs)
Home Page: http://rubyforge.org/projects/rawk-the-logs/
This project forked from yoon/rawk
Fork of Ruby on Rails Log Analyzer - RAWK (by Chris Hobbs)
Home Page: http://rubyforge.org/projects/rawk-the-logs/
RAWK - Rail's Analyzer With Klass v1.2 Created by Chris Hobbs of Spongecell, LLC This tool gives statistics for Ruby on Rails log files. The times for each request are grouped and totals are displayed. If process ids are present in the log files then requests are sorted by ActionController actions otherwise requests are grouped by url. By default total request times are used for comparison but database time or render time can be used by specifying the correct flag. The log file is read from standard input unless the -f flag is specified. The options are as follows: -? Display this help. -d Use DB times as data points. These times are found after 'DB:' in the log file. This overrides the default behavior of using the total request time. -f <filename> Use the specified file instead of standard input. -h Display this help. -r Use Render times as data points. These times are found after 'Rendering:' in the log file. This overrides the default behavior of using the total request time. -s <count> Display <count> results in each group of data. -t Test -u Group requests by url instead of the controller and action used. This is the default behavior if there is are no process ids in the log file. -w <count> Display the top <count> worst requests. -x <date> Date (inclusive) to start parsing in 'yyyy-mm-dd' format. -y <date> Date (inclusive) to stop parsing in 'yyyy-mm-dd' format. To include process ids in your log file, add this to environment.rb: class Logger def format_message(severity, timestamp, progname, msg) "#{msg} (pid:#{$$})\n" end end This software is Beerware, if you like it, buy yourself a beer. Example usage: ruby rawk.rb < production.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.