From Fedora Project Wiki

Revision as of 20:00, 23 September 2008 by Mmcgrath (talk | contribs)

These are the command line recipes for the metrics shown on the Statistics page.

Yum

SSH to lockbox and:

egrep 'repo=updates-released-f9' \
/var/log/httpd/archives/proxy*/mirrors.fedoraproject.org-access.log.<date_range> | \
grep '\" 200 ' | awk '{print $1}' | awk -F : '{print $2}' | \
sort | uniq | wc -l > ~/f9-yum-<end_date>.txt

Direct Downloads

SSH to log1 and:

egrep 'Fedora-9.*\.iso' \ /var/log/hosts/proxy*/YYYY/MM/DD/http/download.fedoraproject.org-access.log | \ grep '\" 302 ' | awk '{print $1}' | awk -F : '{print $2}' | sort | uniq | wc -l \ > ~/f9-dl-20080728.txt

Fedoraproject.org Visits

Go here.

Wiki Edits