ktlacaelel-plog 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/README.rdoc +20 -0
  2. data/VERSION +1 -1
  3. data/plog.gemspec +2 -2
  4. metadata +2 -2
@@ -60,6 +60,26 @@ Compiles statistics in a easy to read manner
60
60
  797 971882 1.219 414829 0.52 423130 0.53 /user/[0-9]/articles/friends?
61
61
  122 20830 0.17 7081 0.058 10291 0.084 /user/[0-9]/topics?
62
62
 
63
+ == Improvized twicks:
64
+
65
+ You can improvize some quick sorting using the command line like:
66
+
67
+ cat plog/statistics.txt | head -n1 > some_file.txt
68
+ cat plog/statistics.txt | sort -nr >> some_file.txt
69
+
70
+ This will create a new file with sorted results by hits for you!
71
+
72
+ Hits Time Avg-Time DbTime Avg-DB View Avg-View Url
73
+ 1868 1301006 0.696 623246 0.333 491474 0.263 /user/[0-9]/posts?
74
+ 797 971882 1.219 414829 0.52 423130 0.53 /user/[0-9]/articles/friends?
75
+ 122 20830 0.17 7081 0.058 10291 0.084 /user/[0-9]/topics?
76
+ 93 18057 0.194 5775 0.062 10437 0.112 /users/[0-9]
77
+ 82 11922 0.145 5969 0.072 4979 0.06 /user/[0-9]/comments
78
+ 12 277 0.023 193 0.016 0 0 /user_themes/update
79
+ 3 99 0.033 57 0.019 0 0 /comments
80
+ 1 72 0.072 39 0.039 0 0 /confirm_destroy_account/[0-9]?
81
+ 1 290 0.29 107 0.107 175 0.175 /posts
82
+
63
83
  == Installation
64
84
 
65
85
  $ gem sources -a http://gems.github.com
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{plog}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kazuyoshi Tlacaelel"]
12
- s.date = %q{2009-09-07}
12
+ s.date = %q{2009-09-09}
13
13
  s.default_executable = %q{plog}
14
14
  s.description = %q{Plog - Ruby on Rails production log statistic generator. by Kazuyoshi Tlacaelel}
15
15
  s.email = %q{kazu.dev@gmail.com}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ktlacaelel-plog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuyoshi Tlacaelel
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-07 00:00:00 -07:00
12
+ date: 2009-09-09 00:00:00 -07:00
13
13
  default_executable: plog
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency