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

Commit

Permalink
Added some info on how to grep for download stats etc (only interesti…
Browse files Browse the repository at this point in the history
…ng to @rsms)
  • Loading branch information
rsms committed Feb 6, 2011
1 parent b709354 commit 02750c9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions admin/greping-for-stats.sh
Original file line number Diff line number Diff line change
@@ -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.