From Fedora Project Wiki
(New page: These are the command line recipes for the metrics shown on the Statistics page. = Yum = = Direct Downloads = = Fedoraproject.org Visits = = Wiki Edits =) |
(→Yum) |
||
Line 2: | Line 2: | ||
= Yum = | = 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 = | = Direct Downloads = |
Revision as of 16:05, 4 August 2008
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