From Fedora Project Wiki
No edit summary
Line 2: Line 2:


= Yum =
= Yum =
== New Way ==
SSH to log1 and:
cat /srv/www/fedoraUsage/updates-released-f{{FedoraVersion}}
== Old Way (deprecated) ==
SSH to lockbox and:
SSH to lockbox and:
  egrep 'repo=updates-released-f9' \
  egrep 'repo=updates-released-f9' \

Revision as of 13:18, 27 September 2008

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