From Fedora Project Wiki

< Statistics

Revision as of 13:18, 27 September 2008 by Pfrields (talk | contribs) (→‎Yum)

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

Yum

New Way

SSH to log1 and:

cat /srv/www/fedoraUsage/updates-released-f40

Old Way (deprecated)

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