Permalink
Browse files

Added some info on how to grep for download stats etc (only interesti…

…ng to @rsms)
  • Loading branch information...
rsms committed Feb 6, 2011
1 parent b709354 commit 02750c9e3aeb9b3d5e5d83351ea3cc9b46505a07
Showing with 9 additions and 0 deletions.
  1. +9 −0 admin/greping-for-stats.sh
@@ -0,0 +1,9 @@
+# Number of downloads:
+zgrep -E --no-filename 'kodapp\.com.+/download/' /var/log/lighttpd/access.* | wc -l
+
+# All accesses to the appcast.xml file:
+zgrep -E --no-filename 'kodapp\.com.+/appcast\.xml' /var/log/lighttpd/access.* > kod-appcast.log
+
+# Number of 0.0.3 installations (counting unique IPs):
+grep 'Kod/0.0.3' kod-appcast2.log | awk '{print $1}' | sort -u | wc -l
+

0 comments on commit 02750c9

Please sign in to comment.